Triple Exponential Moving Average (TEMA)

TEMA
Indicator

TrendOn the price chartFree on ChartLabs

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.

Example market1hIndicatorsAtlas AITEMAchartlabs.co/charts
Atlas reads it

Price is above a rising TEMA 9. Short-term trend points up.

TEMA 9 61,886.3 · Close 62,005.6

Atlas reads it

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.

1Bullish

Price above a rising TEMA

Closes stay above the line while it slopes up. The short-term move is up.

2Bearish lean

Close crosses below

After a run above, price closes under the line. With TEMA this tends to come soon after a turn.

3Bullish lean

Close crosses above

After a run below, price closes above the line.

4Bullish

Pullback that holds

Price dips to a rising TEMA and closes back above it.

Flat line, many crosses
5Inconclusive

Flat line, many crosses

TEMA wiggles sideways with price. A fast line in a range gives many crosses.

TEMA formulaHow it is calculated.

E1=EMAN(close)E2=EMAN(E1)E3=EMAN(E2)TEMA=3×E1−3×E2+E3
STEP 1

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.

STEP 2

Weight them

Multiply the first by 3 and the second by 3.

STEP 3

Combine

TEMA = 3 x first minus 3 x second plus third. The lag of the three largely cancels out.

TEMA settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Length91 to 2,000 (typical 9 to 50)The length of all three EMAs. Longer is smoother and slower.
SourceCloseAny price, or volumeWhich values feed the calculation.
LineBlue #2962FF, 1 pxAny colour and widthColour 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.
952 price crosses in view
70,20866,82563,44360,06164,803.7

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

WhileTEMAslopes upifprice dips to it and closes above

Traders often want the close back above the line before acting.

Fast TEMA crosses a slower one

IfTEMA 9crosses aboveTEMA 21exit whenit crosses back

A slower TEMA filters some of the noise. The 21 is drawn here in orange.

Trend filter

Only long whileprice is aboveTEMAandTEMArises

A longer TEMA can keep you on the side of the trend while other tools time the entry.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

TEMA mistakesCommon mistakes.

Flat line, many crosses

Trading every cross in a range

TEMA reacts to small moves, so a sideways market produces many crosses.

Far above the line

Reading every overshoot as a breakout

After a sharp bar, price can jump away from TEMA and come straight back.

Cross comes after the low

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 indicators

Try TEMA on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
TEMA (9, close)