What Is a Double Exponential Moving Average?
Double exponential moving average is a moving average that reduces lag by taking an exponential average, measuring how far it trails price, and adding that gap back. It responds faster than an ordinary exponential average, which makes it earlier on real turns and earlier on false ones.
Covered on this page: TradingView.
Every moving average lags, because every moving average is an average of the past. DEMA is an attempt to measure that lag and subtract it, and understanding what it actually removes matters more than the formula.
How it works
Start with an ordinary exponential moving average. It sits behind price, and the smoother you make it, the further behind it sits.
Now take an exponential average of that average. The gap between the two is a measurement of how far the first one is trailing.
Add that gap back on. Twice the first average minus the second — the line now sits much closer to price than the smoothing period alone would put it.
The trade nobody states plainly
Lag is not a defect. Lag is the smoothing. The reason a moving average is readable at all is that it ignores most of what price just did.
Remove the lag and you put the noise back. DEMA reacts to moves an ordinary average would have absorbed, and most of those moves go nowhere.
Which is why a faster average is not a better one. It is a different setting on one dial, and the right end of that dial depends on what you are trading, not on the indicator.
A worked example
Take a choppy stretch of price. Most of its swings last two or three bars, and once in a while one runs for eleven.
The short swings are the whole problem. An average fast enough to catch a two-bar move is fast enough to fire on every two-bar move, and most of them reverse.
DEMA catches the eleven-bar run earlier than an EMA does. That is a real gain and it is the case people remember.
It also fires on the two-bar runs, which is the case people forget, and there are far more of them. Each one costs a round trip: the spread in and out, plus any commission.
Where it genuinely helps
In a strong, sustained trend. When a move actually runs, getting in earlier is worth real money and the false signals are rare.
As a filter rather than a trigger. Using it to decide which side of the market to look at, while taking entries from something slower, keeps the speed and drops most of the cost.
On higher timeframes. A faster average on a daily chart is still slow in absolute terms, so the noise it admits is a smaller share of the move.
And where the alternative is a very long average. If a 200-bar average is too slow to be useful, a DEMA of 50 may sit where you actually want it — which is a legitimate use of the construction rather than a claim about superiority.
The original data
On the S&P 500 from 1950 to 2026, 53.1% of trading days closed up and the other 46.9% did not. One close to the next is close to a coin toss, and the upward drift shows only at a slower pace: 59% of ten-day windows finished higher. That is the case for letting an average be slow.
Put that churn against the cost and the arithmetic is unforgiving. An indicator that turns on day-to-day noise pays a round trip each time, and in a series that falls on nearly half its days those signals arrive constantly.
And compounding shows the same shape over time: an annual drag of 5 basis points takes about 1.5% off a thirty-year balance, and 75 takes 20.2%. Small recurring costs decide outcomes; a faster average is a decision to pay more of them.
How it compares to the alternatives
Against a simple moving average, DEMA is dramatically faster and dramatically noisier. They are not substitutes.
Against an exponential moving average, it is moderately faster for the same period, which is the comparison most people actually mean.
Against a Hull moving average, it is slower and less aggressive — Hull applies a similar lag-reduction idea more forcefully, with the same trade amplified.
And against simply shortening the period, DEMA is smoother for the same responsiveness. That is the honest claim for it: not less lag at no cost, but a better shape for a given amount of lag removed. A shortened ordinary average becomes jagged as it speeds up, reacting to individual bars; DEMA keeps a cleaner line at the same reaction speed, which is a genuine difference and a modest one.
How this connects
This is a moving average built to lag less. It applies exponential smoothing twice and subtracts, which removes some of the delay the second pass adds.
The triple exponential moving average takes the same idea further, and the trade is identical: less lag, more reaction to noise.
It does not escape the fundamental constraint. Every average is computed from past bars, so the lag shrinks but never inverts.
Overshoot is the cost. Reducing lag arithmetically means the line can extend past price at turns, which looks like a signal and is an artifact.
And the period is still a preference - the same arbitrary choice every simple moving average requires, just processed differently.
When it fails
The characteristic failure is choosing it for the backtest and holding it through the chop. The strategy is tested over a period containing a few strong trends, DEMA catches them earlier than the alternatives, and the results look decisive. Then the market ranges — which for long stretches is its ordinary state — and the same responsiveness that won the trends produces a signal every few bars, each one paying a spread. Nothing about the indicator changed; the market stopped supplying the only condition it is better at.
A second failure is treating “less lag” as strictly better. Lag is the smoothing, and removing it returns the noise.
A third is running it at a short period, which compounds the speed until the line is close to price itself.
A fourth is comparing it to an EMA of a different length and concluding it is better, when the two were never set to the same responsiveness.
And a fifth is stacking it with other fast indicators. They all respond to the same moves, so agreement between them is not confirmation, it is repetition.
Related
Exponential moving average covers the average this is built from. Triple exponential moving average covers the same idea pushed further. And moving average covers what all of them are doing underneath.
Every indicator that claims to remove lag has made the same trade, and DEMA is the clearest place to see it. You are not getting a faster average for free — you are getting an average that is wrong sooner as well as right sooner, and which of those you notice depends entirely on the market you are in.
— Michael Whitman
This page is educational, not financial advice. Test every idea on your own charts before risking money. Some links on this page earn a commission if you buy through them. It costs you nothing and it does not decide what appears here or in what order — how these pages are made is set out in our methodology.