RMTA Pass
Recursive Moving Trend Average — Series Input
IndicatorTrendOverlay
Overview
RMTA Pass applies the Recursive Moving Trend Average to any upstream numeric series. RMTA recursively applies a simple averaging step to capture longer-term trends with fewer parameters than a traditional EMA of the same look-back.
Formula
RMTA[t] = (x[t] + (period−1)·RMTA[t−1]) / period
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| period | number | 14 | Recursive smoothing window length. |
Inputs & Outputs
| Port | Direction | Type | Description |
|---|---|---|---|
| input | Input | (number | null)[] | Any numeric series (values + timestamps). |
| values | Output | (number | null)[] | Smoothed output series, null for warm-up bars. |
| timestamps | Output | number[] | Bar timestamps aligned with values. |