TEMA Pass
Triple Exponential Moving Average — Series Input
IndicatorTrendOverlay
Overview
TEMA Pass applies the Triple Exponential Moving Average to any upstream numeric series. TEMA uses three layers of EMA to virtually eliminate lag, responding almost instantly to price changes while maintaining a smooth output.
Formula
EMA1 = EMA(x, period) EMA2 = EMA(EMA1, period) EMA3 = EMA(EMA2, period) TEMA[t] = 3·EMA1[t] − 3·EMA2[t] + EMA3[t]
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| period | number | 10 | EMA 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. |