Back to Docs
Traderoid

EMA Pass

Exponential Moving Average — Series Input

IndicatorTrendOverlay

Overview

EMA Pass applies the Exponential Moving Average to any upstream numeric series. It gives more weight to recent values, making it more responsive to new data than a simple moving average of the same period.

Formula

α = 2 / (period + 1) EMA[t] = α·x[t] + (1−α)·EMA[t−1]

Parameters

ParameterTypeDefaultDescription
periodnumber10Smoothing window length in bars.

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.