@pond-ts/financial API Reference
    Preparing search index...

    Interface TrueStrengthIndexOptions<S, Prefix>

    interface TrueStrengthIndexOptions<
        S extends SeriesSchema,
        Prefix extends string,
    > {
        column?: NumericColumnNameForSchema<S>;
        longPeriod?: number;
        prefix?: Prefix;
        shortPeriod?: number;
        signalPeriod?: number;
    }

    Type Parameters

    • S extends SeriesSchema
    • Prefix extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column. Default 'close'.

    longPeriod?: number

    Span of the first (slower) EMA applied to both legs, in bars. Default 25.

    prefix?: Prefix

    Column-family prefix — appends ${prefix} and ${prefix}Signal. Default 'tsi'.

    shortPeriod?: number

    Span of the second EMA, applied to the first's output, in bars. Default 13.

    signalPeriod?: number

    Signal EMA span in bars, taken over the TSI line. Default 7.