Back to Docs
Traderoid

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

ParameterTypeDefaultDescription
periodnumber14Recursive smoothing window length.

Inputs & Outputs

PortDirectionTypeDescription
inputInput(number | null)[]Any numeric series (values + timestamps).
valuesOutput(number | null)[]Smoothed output series, null for warm-up bars.
timestampsOutputnumber[]Bar timestamps aligned with values.