rma
Wilder moving average (RMA / SMMA)
Reference/Moving averages/Function
rma(source, length)
Smoothing used inside RSI and ATR. Alias: smma. Short form `rma(14)` uses close.
Parameters
| Name | Type | Description |
|---|---|---|
sourceoptional | series default close | Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9). |
length | int default 14 | Lookback in bars. Default 14. |
Return value
series
Short form: if the first argument is a number, Dovee uses close as the source.
Also accepted: smma.
Example
line = rma(close, 14) plot line as "Wilder moving average (RMA / SMMA)"