Skip to content

Documentation / @finchart/indicators / stddev

Function: stddev() ​

stddev(values, period): (number | null)[]

Defined in: indicators/src/kernels.ts:88

Windowed population standard deviation — stddevFold in a loop, so the array form pays the fold's O(period) per element: 100k × 20 ≈ 7 ms, 100k × 200 ≈ 60 ms (measured). Bollinger's full path is the caller; its tick re-runs only the bars the tick reaches, a window, not the history.

Parameters ​

values ​

Values

period ​

number

Returns ​

(number | null)[]