The Triple Exponential Moving Average (TEMA) is a powerful technical indicator that was crafted by Patrick Mulloy and featured in the "Technical Analysis of Stocks & Commodities" magazine.
The way TEMA is calculated is quite similar to the Double Exponential Moving Average (DEMA). Despite its name, the Triple Exponential Moving Average doesn’t quite capture the essence of its algorithm. It’s actually a unique combination of single, double, and triple exponential smoothing averages that results in a smaller lag than any of the individual components.
Traders often opt for TEMA instead of traditional moving averages, as it can effectively smooth price data and even other indicators.

Triple Exponential Moving Average Indicator
How TEMA is Calculated:
The calculation begins by finding the DEMA, followed by determining the error of the price deviation from DEMA:
In this formula:
- err(i) - the current DEMA error;
- Price(i) - the current price;
- DEMA(Price, N, i) - the current DEMA value based on the Price series over N periods.
Next, we add the value of the exponential average of the error to get the TEMA:
= DEMA(Price, N, i) + EMA(Price - DEMA(Price, N, i), N, i) = 3 * EMA(Price, N, i) - 3 * EMA2(Price, N, i) + EMA3(Price, N, i)
Here’s what the terms mean:
- EMA(err, N, i) - the current value of the exponential average of the error;
- EMA2(Price, N, i) - the current value of the double sequential price smoothing;
- EMA3(Price, N, i) - the current value of the triple sequential price smoothing.
Related Posts
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Mastering the Open Range Breakout Indicator for MetaTrader 5
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Maximize Your Trading Potential with the ColorX2MA_Alert Indicator for MetaTrader 5
- ID Lite Info MA: A Comprehensive Indicator for MetaTrader 5