Interface ISignalsConfig

Configuration object used for generating signals, particularly in the context of peak detection algorithms.

interface ISignalsConfig {
    flatten?: boolean;
    influence: number;
    lag: number;
    normaliseData?: boolean;
    threshold: number;
    values: number[];
}

Properties

flatten?: boolean
influence: number

A factor that determines the influence of signals on subsequent calculations, affecting how strongly the identified signals affect the moving average.

lag: number

The number of periods (or candles) that will be considered for calculating the moving average, which is used in signal detection.

normaliseData?: boolean
threshold: number

The threshold value for determining significant deviations from the moving average, used in identifying potential signals.

values: number[]

An array of numerical values (e.g., closing prices of candles) to be analysed.

Generated using TypeDoc