Traders have relied on moving averages to help pinpoint high probability trading entry points and profitable exits for many years. A well-known problem with moving averages, however, is the serious lag that is present in most types of moving averages. The double exponential moving average, or DEMA, provides a solution by calculating a faster averaging methodology. (See also: Moving Averages.)

## History of the Double Exponential Moving Average

In technical analysis, the term moving average refers to an average of price for a particular trading instrument over a specified time period. For example, a 10-day moving average calculates the average price of a specific instrument over the past 10 days, a 200-day moving average calculates the average price of the last 200 days and so on. Each day, the look-back period advances to base calculations on the last X number of days. A moving average appears as a smooth, curving line that provides a visual representation of the longer-term trend of an instrument. Faster moving averages, with shorter look-back periods, are choppier; slower moving averages, with longer look-back periods, are smoother. Because a moving average is a backward-looking indicator, it is described as lagging.

The double exponential moving average (DEMA), shown in Figure 1, was developed by Patrick Mulloy in an attempt to reduce the amount of lag time found in traditional moving averages. It was first introduced in the February 1994 issue of the magazine Technical Analysis of Stocks & Commodities in Mulloy's article "Smoothing Data with Faster Moving Averages." (For more, see: Technical Analysis Tutorial.)

Figure 1: This one-minute chart of the e-mini Russell 2000 futures contract shows two different double exponential moving averages; a 55-period appears in blue, a 21-period in pink.

## Calculating a DEMA

As Mulloy explains in his original article, "the DEMA is not just a double EMA with twice the lag time of a single EMA, but is a composite implementation of single and double EMAs producing another EMA with less lag than either of the original two." In other words, the DEMA is not simply two EMAs combined, or a moving average of a moving average, but it is a calculation of both single and double EMAs.

Nearly all trading analysis platforms have the DEMA included as an indicator that can be added to charts. Therefore, traders can use the DEMA without knowing the math behind the calculations and without having to write or input any code.

## Comparing the DEMA With Traditional Moving Averages

Moving averages are one of the most popular methods of technical analysis. Many traders use them to spot trend reversals, especially in a moving average crossover, where two moving averages of different lengths are placed on a chart. Points where the moving averages cross can signify buying or selling opportunities.

The DEMA can help traders spot reversals sooner because it is faster to respond to changes in market activity. Figure 2 shows an example of the e-mini Russell 2000 futures contract. This one-minute chart has four moving averages applied:

• 21-period DEMA (pink)
• 55-period DEMA (dark blue)
• 21-period MA (light blue)
• 55-period MA (light green)

Figure 2: This one-minute chart of the e-mini Russell 2000 futures contract illustrates the faster response time of the DEMA when used in a crossover. Notice how the DEMA crossover in both instances appears significantly sooner than the MA crossovers.