Triple Exponential Moving Average (TEMA)TEMA
The triple exponential moving average, also by Patrick Mulloy, combines a single, double and triple smoothed EMA to cut lag further than DEMA. It follows price very closely, which helps in trends but adds noise in sideways markets.
Patrick Mulloy built the triple exponential moving average shortly after his double exponential moving average of 1994.1 Both were published in Technical Analysis of Stocks & Commodities magazine.2 TEMA mixes three EMAs: one of price, one of that EMA and one of the second EMA, weighting them so that most of their lag cancels out.1 The result hugs price more tightly than DEMA and crosses earlier, which is useful in trends and noisy in ranges.1 This entry explains the formula, walks through a calculation and shows where the speed helps and where it hurts. It is not the same indicator as TRIX, which turns a triple-smoothed EMA into a rate-of-change oscillator.
- Category
- Indicators and Tools
- Reading time
- 6 min
- Also called
- Triple EMA
- Updated
TEMA in plain words
Each time you smooth an EMA again, the new line falls a little further behind price. TEMA uses three such lines and combines them so that the extra delays offset each other.1
The formula gives the most weight to the EMA with the least lag, takes away the double-smoothed line and adds back the triple-smoothed one.1 The result is a single line that stays very close to the price bars.1
How to build and read TEMA, step by step
Worked examples
Example 1 — One update of a 3-period TEMA
FormulaA hypothetical stock closes at $42.00. Yesterday’s values were EMA1 $40.00, EMA2 $39.00 and EMA3 $38.40. The 3-period multiplier is 2 ÷ (3 + 1) = 0.5.
| New EMA1 | $40.00 + 0.5 × $2.00 = $41.00 |
| New EMA2 | $39.00 + 0.5 × $2.00 = $40.00 |
| New EMA3 | $38.40 + 0.5 × $1.60 = $39.20 |
| 3 × EMA1 | 3 × $41.00 = $123.00 |
| 3 × EMA2 | 3 × $40.00 = $120.00 |
| TEMA | $123.00 − $120.00 + $39.20 = $42.20 |
Each EMA is updated from the line before it: EMA2 moves towards the new EMA1 ($41.00 − $39.00 = $2.00) and EMA3 towards the new EMA2 ($40.00 − $38.40 = $1.60).
Example 2 — EMA, DEMA and TEMA side by side
ComparisonSame hypothetical numbers as Example 1: close $42.00, EMA1 $41.00, EMA2 $40.00, EMA3 $39.20.
| EMA1 | $41.00 (lag $1.00) |
| DEMA = 2 × EMA1 − EMA2 | $82.00 − $40.00 = $42.00 |
| TEMA | $42.20 (above the close) |
In this hypothetical run of rising prices the EMA trails by $1.00, DEMA matches the close and TEMA has moved slightly past it. The faster the line, the more it reacts to the latest move, which is why TEMA can also produce more noise.1
Example 3 — Small crosses in a range
WhipsawA hypothetical stock drifts sideways. A trader goes long each time price closes above a 10-period TEMA and exits when it closes below. Over a month, five trades lose $0.30 a share and two make $0.70.
| Losses | 5 × −$0.30 = −$1.50 |
| Gains | 2 × +$0.70 = +$1.40 |
| Net per share | −$1.50 + $1.40 = −$0.10 |
Price can cross a TEMA on smaller moves than it needs to cross a simple average, so sideways markets produce false signals that shake traders out.3
TEMA compared with DEMA and TRIX
How traders use TEMA
Trend confirmation
Price above a rising TEMA supports long positions; below a falling TEMA supports shorts.3 See Trend Following.
Early crossovers
A short TEMA crossing a longer one gives an earlier signal than the same cross on DEMAs or EMAs.1
A cleaner price line
Some traders watch the TEMA line instead of the bars to cut noise.3
Smoothing other indicators
TEMA can replace a normal moving average and can be applied to other indicators.2 See Technical Indicator.
Advantages and disadvantages
Advantages
Going deeper
Read as far as you need. Each level builds on the one before it.
One fast line
Beginner
You can read TEMA like any moving average: direction shows the trend and crosses show possible changes.3 Just expect it to turn sooner, and more often, than the averages you are used to.
Where the weights come from
Intermediate
(3 × EMA1) − (3 × EMA2) + EMA3 can be read as DEMA plus a further correction. MetaTrader shows this step by step: TEMA is DEMA plus an EMA of the gap between price and DEMA.2 Each layer of correction cancels some of the lag left by the one before.
Overshoot and warm-up
Advanced
Because the corrections project the recent trend forward, TEMA can sit beyond the latest close, as in Example 2. EMA3 also depends on a run of EMA2 values, which depend on EMA1, so the first stretch of a TEMA after a chart starts is less reliable. Longer look-back periods slow it down again.3
Common mistakes
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- TEMA was created by Patrick Mulloy shortly after DEMA.
- TEMA = (3 × EMA1) − (3 × EMA2) + EMA3, with each EMA built from the one before.
- It sits closer to price than DEMA and crosses earlier.
- Less lag means more noise and more false signals in ranges.
- TEMA is a price overlay, unlike the TRIX oscillator.
Frequently asked questions
Is TEMA faster than DEMA?
What is a good TEMA setting?
Is TEMA the same as triple exponential smoothing in TRIX?
Further learning
- Double Exponential Moving Average (DEMA)
The simpler version TEMA builds on.
- Moving Average
How simple and exponential averages work.
- TRIX
A momentum oscillator also built from triple smoothing.
- Whipsaw
Why fast averages struggle in sideways markets.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- StockCharts ChartSchool. Triple Exponential Moving Average (TEMA) (opens in a new tab) Checked .
- MetaQuotes (MetaTrader 5 Help). Triple Exponential Moving Average (opens in a new tab) Checked .
- TradingView. Triple EMA (TEMA) – Help Center (opens in a new tab) Checked .
- StockCharts ChartSchool. Moving Averages - Simple and Exponential (opens in a new tab) Checked .
- StockCharts ChartSchool. Double Exponential Moving Average (DEMA) (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.