Skip to main content

ATRSmoothing

type ATRSmoothing = "rma" | "sma" | "ema";

Source: types/src/index.ts:1119

How the true-range series is smoothed into ATR. 'rma' is Wilder's original (alpha = 1/period) and the conventional default; the other two are the ordinary moving averages applied to the same series.

Distinct from MAKind, which the other indicators use — RMA is specific to Wilder's indicators and isn't offered elsewhere.