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

    Interface MovingAverageDeviationOptions<S, Output>

    interface MovingAverageDeviationOptions<
        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, read both as the price and as the average's input. Default 'close'.

    maType?: MaType

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

    output?: Output

    Appended column name. Default 'maDev'.

    period?: number

    Moving-average length in bars. Default 20.