---
title: "Triple Exponential Moving Average - Trend Indicators - Technical Indicators - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help"
description: "Triple Exponential Moving Average Technical Indicator (TEMA) was developed by Patrick Mulloy and published in the \"Technical... - Triple Exponential Moving Average - Trend Indicators - Technical Indicators"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/tema"
---

[MetaTrader 5 Help](https://www.metatrader5.com/en/terminal/help) → [Price Charts, Technical and Fundamental Analysis](https://www.metatrader5.com/en/terminal/help/charts_analysis) → [Technical Indicators](https://www.metatrader5.com/en/terminal/help/charts_analysis/indicators) → [Trend Indicators](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators) → Triple Exponential Moving Average

# Triple Exponential Moving Average

Triple Exponential Moving Average Technical Indicator (TEMA) was developed by Patrick Mulloy and published in the "Technical Analysis of Stocks & Commodities" magazine. The principle of its calculation is similar to [DEMA (Double Exponential Moving Average)](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/dema). The name "Triple Exponential Moving Average" does not very correctly reflect its algorithm. This is a unique blend of the single, double and triple exponential moving average providing the smaller lag than each of them separately.

TEMA can be used instead of traditional moving averages. It can be used for smoothing price data, as well as for smoothing other indicators.

> You can test the [trade signals](https://www.mql5.com/en/docs/standardlibrary/ExpertClasses/CSignal/signal_tema) of this indicator by creating an Expert Advisor in [MQL5 Wizard](https://www.metatrader5.com/en/automated-trading/mql5wizard).

![Triple Exponential Moving Average](https://www.metatrader5.com/i/help/terminal/en/tema.png)

## Calculation

First DEMA is calculated, then the error of price deviation from DEMA is calculated:

```
err(i) = Price(i) — DEMA(Price, N, ii)
```

Where:

err(i) — current DEMA error;
Price(i) — current price;
DEMA(Price, N, i) — current DEMA value from Price series with N period.

Then add value of the exponential average of the error and get TEMA:

```
TEMA(i) = DEMA(Price, N, i) + EMA(err, N, i) = DEMA(Price, N, i) + EMA(Price - EMA(Price, N, i), N, i) =
```

```
= 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)
```

Where:

EMA(err, N, i) — current value of the exponential average of the err error;
EMA2(Price, N, i) — current value of the double sequential price smoothing;
EMA3(Price, N, i) — current value of the triple sequential price smoothing.

## In this section

- [Adaptive Moving Average](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ama)
- [Average Directional Movement Index](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/admi)
- [Average Directional Movement Index Wilder](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/admiw)
- [Bollinger Bands](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/bb)
- [Double Exponential Moving Average](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/dema)
- [Envelopes](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/envelopes)
- [Fractal Adaptive Moving Average](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/fama)
- [Ichimoku Kinko Hyo](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ikh)
- [Moving Average](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ma)
- [Parabolic SAR](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/psar)
- [Standard Deviation](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/sd)
- Triple Exponential Moving Average
- [Variable Index Dynamic Average](https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/vida)

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/en/terminal/help", "name": "MetaTrader 5 Help"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/charts_analysis", "name": "Price Charts, Technical and Fundamental Analysis"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/charts_analysis/indicators", "name": "Technical Indicators"}}, {"@type": "ListItem", "position": 4, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators", "name": "Trend Indicators"}}, {"@type": "ListItem", "position": 5, "item": {"@id": "https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/tema", "name": "Triple Exponential Moving Average"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Triple Exponential Moving Average", "acceptedAnswer": { "@type": "Answer", "text": "Triple Exponential Moving Average Technical Indicator (TEMA) was developed by Patrick Mulloy and published in the &quot;Technical Analysis of..." } }] }
```
