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
| Parameter | Type | Default | Description |
|---|---|---|---|
| period | number | 10 | Smoothing window length in bars. |
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. |