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

    Interface StochasticOptions<S, Prefix>

    interface StochasticOptions<S extends SeriesSchema, Prefix extends string> {
        close?: NumericColumnNameForSchema<S>;
        dPeriod?: number;
        high?: NumericColumnNameForSchema<S>;
        kPeriod?: number;
        low?: NumericColumnNameForSchema<S>;
        prefix?: Prefix;
        slowing?: number;
    }

    Type Parameters

    • S extends SeriesSchema
    • Prefix extends string
    Index

    Properties

    close?: NumericColumnNameForSchema<S>

    Close column. Default 'close'.

    dPeriod?: number

    SMA length applied to %K to make %D, in bars. Default 3.

    high?: NumericColumnNameForSchema<S>

    High column. Default 'high'.

    kPeriod?: number

    Look-back for the highest high / lowest low, in bars. Default 14.

    low?: NumericColumnNameForSchema<S>

    Low column. Default 'low'.

    prefix?: Prefix

    Column-family prefix — appends ${prefix}K / ${prefix}D. Default 'stoch'.

    slowing?: number

    SMA length applied to fast %K to make the (slow) %K, in bars. Default 3. 1 is the fast stochastic — %K unsmoothed.