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

    Interface PrettyGoodOscillatorOptions<S, Output>

    interface PrettyGoodOscillatorOptions<
        S extends SeriesSchema,
        Output extends string,
    > {
        close?: NumericColumnNameForSchema<S>;
        column?: NumericColumnNameForSchema<S>;
        high?: NumericColumnNameForSchema<S>;
        low?: NumericColumnNameForSchema<S>;
        output?: Output;
        period?: number;
    }

    Type Parameters

    • S extends SeriesSchema
    • Output extends string
    Index

    Properties

    close?: NumericColumnNameForSchema<S>

    Close column (true-range input). Default 'close'.

    column?: NumericColumnNameForSchema<S>

    The field measured against its own average. Default: whatever close resolves to, so redirecting close moves both halves together.

    high?: NumericColumnNameForSchema<S>

    High column (true-range input). Default 'high'.

    low?: NumericColumnNameForSchema<S>

    Low column (true-range input). Default 'low'.

    output?: Output

    Appended column name. Default 'pgo'.

    period?: number

    Look-back of both the simple average and the true-range average, in bars. Default 14.