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

    Interface DetrendedPriceOscillatorOptions<S, Output>

    interface DetrendedPriceOscillatorOptions<
        S extends SeriesSchema,
        Output extends string,
    > {
        column?: NumericColumnNameForSchema<S>;
        maType?: MaType;
        output?: Output;
        period?: number;
    }

    Type Parameters

    • S extends SeriesSchema
    • Output extends string
    Index

    Properties

    column?: NumericColumnNameForSchema<S>

    Source column. Default 'close'.

    maType?: MaType

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

    output?: Output

    Appended column name. Default 'dpo'.

    period?: number

    Moving-average length in bars; also sets the displacement (⌊period/2⌋ + 1). Default 20.