Array of numerical values to analyse (typically closing prices)
Z-Score algorithm parameters containing:
An array of detected peaks with their positions and directions:
const peaks = findSignals(
[101, 102, 99, 101, 102, 107, 109, 105, 102, 100, 97, 95, 97],
{ lag: 5, threshold: 2.5, influence: 0.5 }
);
Generated using TypeDoc
Finds signals representing significant changes or anomalies in a numeric time series.
The function uses Z-Score based peak detection to identify periods where values deviate significantly from the moving average, indicating potential market turning points or trend changes.