Back to Docs
Traderoid

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

ParameterTypeDefaultDescription
periodnumber10EMA 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.