Skip to content

Documentation / @finchart/indicators / rma

Function: rma() ​

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

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

Wilder's moving average (RMA) — not just EMA with a different α. The seed is the same, but the recurrence is (state·(period−1)+value)/period (α=1/period). Used by RSI, ATR, ADX. Same null rule as ema.

Parameters ​

values ​

Values

period ​

number

Returns ​

(number | null)[]