Triple Exponential Moving Average (TEMA)

Triple Exponential Moving Average (TEMA)

What Is the Triple Exponential Moving Average?

The Triple Exponential Moving Average (TEMA) reduces the lag of traditional EMAs, making it more responsive and better-suited for short-term trading. Shortly after developing the Double Exponential Moving Average (DEMA) in 1994, Patrick Mulloy took the concept a step further and created the Triple Exponential Moving Average (TEMA).

Like its predecessor DEMA, the TEMA overlay uses the lag difference between different EMAs to adjust a traditional EMA. However, TEMA's formula uses a triple-smoothed EMA in addition to the single- and double-smoothed EMAs employed in the formula for DEMA. The offset created using these three EMAs produces a moving average that stays even closer to the price bars than DEMA.


Click here for a live version of this chart.

Learn More: DEMA

TEMA Calculation

Single-, Double-, and Triple-Smoothed EMAs:
  EMA1 = EMA of price
  EMA2 = EMA of EMA1
  EMA3 = EMA of EMA2
TEMA = (3 x EMA1) - (3 x EMA2) + (EMA3)

This calculation adds a triple-smoothed EMA to DEMA's lag adjustment concept, but the formula places extra weight on the EMAs with the least lag.

Interpreting TEMA

TEMA is interpreted similarly to DEMA and traditional EMAs but responds even more quickly. It can be used to confirm trends and spot changes in a trend.

The most commonly-used signal is the TEMA crossover. Watch for the TEMA line to cross the price bars or for a shorter-term TEMA to cross the longer-term TEMA to indicate a change in trend. For example, a 20-day TEMA crossing above the 50-day TEMA would be a bullish signal.

These TEMA crossovers (whether of price or another TEMA) typically happen much earlier than the corresponding DEMA or traditional EMA crossovers. In the example below, the green arrows mark TEMA crossovers, and the blue arrows mark the corresponding EMA crossovers. In both cases, the TEMA crossover happens before the EMA crossover.

Just so you know, because TEMA reacts more quickly than traditional EMAs, your trading strategies may need to be adjusted for use with TEMA.


Learn more: How to trade TEMAs

The Bottom Line

Price crossovers and other signals generally occur sooner with TEMA than with DEMA or traditional EMAs. While the reduced lag and greater responsiveness makes TEMA appealing to short-term investors, having some lag helps to filter out noise on the chart. Longer-term investors may prefer a moving average with a little more lag and a little less noise. As with all technical indicators, traders should use TEMA in conjunction with other indicators and analysis techniques.

Charting with TEMA

The TEMA overlay can be charted on StockChartsACP after installing our free Advanced Indicator Pack. Please see our StockChartsACP Plug-Ins article in the Support Center for more information on installing this plug-in.

Once the plug-in is installed, the TEMA overlay can be added from the Chart Settings panel for your StockChartsACP chart. TEMA can be overlaid on the security's price plot or on an indicator panel.


Click here for a live version of this chart.

By default, the moving average is calculated with 20 periods, but the number of periods can be adjusted to meet your technical analysis needs.

Scanning for TEMA

StockCharts members can screen for stocks based on TEMA values. Below are some example scans that can be used for TEMA-based signals. Simply copy the scan text and paste it into the Scan Criteria box in the Advanced Scan Workbench.

Members can also set up alerts to notify them when a TEMA-based signal is triggered for a stock. Alerts use the same syntax as scans, so the sample scans below can be used as a starting point for setting up alerts as well. Simply copy the scan text and paste it into the Alert Criteria box in the Technical Alert Workbench.

Bullish TEMA Crossover

This scan looks for stocks with a rising 150-day simple moving average and a bullish cross of the 5-day TEMA and 35-day TEMA. The 150-day moving average is rising as long as it is trading above its level five days ago. A bullish cross occurs when the 5-day TEMA moves above the 35-day TEMA on above-average volume.

[type = stock] AND [country = US] 
AND [SMA(20,Volume) > 40000] 
AND [SMA(60,Close) > 20] 

AND [SMA(150,Close) > 5 days ago SMA(150,Close)] 
AND [TEMA(5,Close) > TEMA(35,Close)] 
AND [Yesterday's TEMA(5,Close) < Yesterday's TEMA(35,Close)] 
AND [Volume > SMA(200,Volume)]

Bearish TEMA Crossover

This scan looks for stocks with a falling 150-day simple moving average and a bearish cross of the 5-day TEMA and 35-day TEMA. The 150-day moving average is falling as long as it is trading below its level five days ago. A bearish cross occurs when the 5-day TEMA moves below the 35-day TEMA on above-average volume.

[type = stock] AND [country = US] 
AND [SMA(20,Volume) > 40000] 
AND [SMA(60,Close) > 20] 

AND [SMA(150,Close) < 5 days ago SMA(150,Close)] 
AND [TEMA(5,Close) < TEMA(35,Close)] 
AND [Yesterday's TEMA(5,Close) > Yesterday's TEMA(35,Close)] 
AND [Volume > SMA(200,Volume)]

For more details on the syntax to use for TEMA scans, please see our Scanning Indicator Reference in the Support Center.


Additional Resources

Stocks & Commodities Magazine Articles

Smoothing Data With Less Lag by Patrick G. Mulloy
Feb 1994 - Stocks & Commodities V.12:2 (72-80)