تخطَّ إلى المحتوى الرئيسي

Double Exponential Moving Average (DEMA)

Intermediate

المتوسط المتحرك الأسي المزدوج

Also known as: DEMA, Double EMA

Technical Analysis
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 25 November 2026

The double exponential moving average is a technical indicator that tracks the price trend like other moving averages but is designed to reduce lag behind price. It was introduced by analyst Patrick Mulloy in 1994, and despite its name it is not simply an exponential average calculated twice.

Quick summary

• A moving average designed to reduce lag. • Equals twice the EMA minus the EMA of the EMA. • Faster to respond but more prone to false signals.

How it works

The calculation starts with an ordinary exponential moving average over a chosen number of periods, and then a second exponential average is calculated on the values of the first one. The second average lags price even more than the first, so Mulloy uses the gap between them to estimate the lag and remove it. The result is twice the first average minus the second average, which produces a line that hugs price more closely than traditional moving averages. Traders use it as they would any moving average: to identify the trend, as a moving support and resistance level, or in crossovers between a short and a long period. Its faster response, however, also means more false signals in sideways markets, so many traders pair it with an indicator that measures trend strength. Mulloy later extended the same idea to a triple version, known as TEMA.

Example

A trader uses a 20-period setting on a hypothetical stock. If the 20-day EMA is 52 riyals and the EMA of that EMA is 50 riyals, the DEMA is 54 riyals ((2 × 52) - 50). With the current price at 55 riyals, the DEMA sits closer to price than the ordinary EMA does.

Where you will see it

In the indicator lists of platforms such as MetaTrader and TradingView, in automated trading systems based on moving average crossovers, and in short time frame analysis of currency pairs and stocks.

Why it matters

Anyone who uses moving averages faces the lag problem, since the signal often arrives after price has already covered much of its move. The DEMA offers a compromise that speeds up signals, with the understanding that the extra speed comes with more noise.

How it is calculated

DEMA = (2 × EMA over n periods) - EMA over n periods of that EMA.

How it differs from similar terms

• Exponential moving average: gives more weight to recent prices but lags more than the DEMA. • Simple moving average: weights all periods equally and is the slowest of the three to respond. • MACD: measures the gap between two exponential averages as a momentum indicator, while the DEMA is plotted directly on price.

Common mistakes

Calculating the DEMA by simply applying an EMA twice and using the result as it is. That result is slower than the original EMA; the correct formula doubles the first EMA and then subtracts the second.

Related terms