TEMA
Indicator
TEMA combines three nested EMAs to strip out most of their lag. It hugs price closely and changes direction soon after price does.
Introduced by Patrick Mulloy in 1994. Reviewed by the ChartLabs team, updated Nov 2026.
Price is above a rising TEMA 9. Short-term trend points up.
TEMA 9 61,886.3 · Close 62,005.6
Price is above a rising TEMA 9. Short-term trend points up.
TEMA 9 61,886.3 · Close 62,005.6
Illustration on simulated data.
Triple Exponential Moving Average (TEMA)What is the TEMA indicator?
TEMA draws one blue line on the price chart. By default it uses a length of 9 on the close.
It builds three EMAs, each smoothing the one before. Then it takes three times the first, subtracts three times the second and adds the third. The extra smoothing in the second and third EMAs is used to cancel the delay of the first.
The line sits very close to price and reacts within a few bars of a turn. That makes it useful for short-term direction, but it also follows small wiggles more than slower averages.
Not a triple-smoothed EMA
Applying an EMA three times would lag badly. TEMA uses those three lines to remove lag instead.
Warm-up
Each of the three EMAs needs its own 9 bars to start, so the first TEMA value appears on the 25th bar.
TEMA signalsFive patterns to know.
Price above a rising TEMA
Closes stay above the line while it slopes up. The short-term move is up.
Close crosses below
After a run above, price closes under the line. With TEMA this tends to come soon after a turn.
Close crosses above
After a run below, price closes above the line.
Pullback that holds
Price dips to a rising TEMA and closes back above it.
Flat line, many crosses
TEMA wiggles sideways with price. A fast line in a range gives many crosses.
TEMA formulaHow it is calculated.
Three nested EMAs
Take a 9-bar EMA of the close, an EMA of that, and an EMA of the second. Each starts from a plain average of its first 9 values.
Weight them
Multiply the first by 3 and the second by 3.
Combine
TEMA = 3 x first minus 3 x second plus third. The lag of the three largely cancels out.
TEMA settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 9 | 1 to 2,000 (typical 9 to 50) | The length of all three EMAs. Longer is smoother and slower. |
| Source | Close | Any price, or volume | Which values feed the calculation. |
| Line | Blue #2962FF, 1 px | Any colour and width | Colour and width of the line. |
- Setting
- Length
- Default
- 9
- Range
- 1 to 2,000 (typical 9 to 50)
- What it changes
- The length of all three EMAs. Longer is smoother and slower.
- Setting
- Source
- Default
- Close
- Range
- Any price, or volume
- What it changes
- Which values feed the calculation.
- Setting
- Line
- Default
- Blue #2962FF, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the line.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
TEMA strategiesUse it in 3 setups.
Pullback to a rising TEMA
Traders often want the close back above the line before acting.
Fast TEMA crosses a slower one
A slower TEMA filters some of the noise. The 21 is drawn here in orange.
Trend filter
A longer TEMA can keep you on the side of the trend while other tools time the entry.
TEMA mistakesCommon mistakes.
Trading every cross in a range
TEMA reacts to small moves, so a sideways market produces many crosses.
Reading every overshoot as a breakout
After a sharp bar, price can jump away from TEMA and come straight back.
Expecting it to catch the exact low
TEMA lags less than other averages, but the cross still follows the turn.
TEMA combinationsPair it with these.
TEMA FAQQuestions traders ask.
What are the default TEMA settings?
Length 9 on the close, the same as TradingView's Triple EMA.
Is TEMA an EMA applied three times?
No. That would lag a lot. TEMA combines three nested EMAs as 3 x first minus 3 x second plus third, which cancels most of the lag.
TEMA or DEMA?
TEMA is faster and follows price more tightly. DEMA is a little steadier.
TEMA or EMA?
TEMA turns much sooner than an EMA of the same length, but it also reacts to more noise.
Why does TEMA start so late on the chart?
Three EMAs each need a warm-up. With length 9 the first value appears after 25 bars.
What is the best TEMA length?
9 is the default. Swing traders often use 20 to 50 to calm the line down.
Does TEMA work on crypto?
Yes. It works on any market with prices.
Is TEMA leading or lagging?
Lagging, like any average of past prices, though it lags very little.
Does TEMA repaint?
No. Values on closed bars never change. The live bar moves until it closes.
Who created TEMA?
Patrick Mulloy described it in Technical Analysis of Stocks & Commodities in 1994, alongside DEMA.
Related indicatorsMore trend tools.
All trend indicatorsTry TEMA on a live chart.
Free. No download.
Works in your browser and on iPhone too.