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

    Interface PriceOscillatorOptions<S, Output>

    interface PriceOscillatorOptions<S extends SeriesSchema, Output extends string> {
        column?: NumericColumnNameForSchema<S>;
        fastPeriod?: number;
        maType?: MaType;
        mode?: PriceOscillatorMode;
        output?: Output;
        slowPeriod?: number;
    }

    Type Parameters

    • S extends SeriesSchema
    • Output extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column. Default 'close'.

    fastPeriod?: number

    Fast moving-average length in bars. Default 12.

    maType?: MaType

    Which moving average — any of the shared MaType menu. Default 'ema'.

    'percent'100 · (fast − slow) / slow, TA-Lib's PPO; 'absolute'fast − slow in the source's own units, TA-Lib's APO. Default 'percent'.

    output?: Output

    Appended column name. Default 'priceOsc'.

    slowPeriod?: number

    Slow moving-average length in bars. Default 26.