Moving Average Exponential 2X
Indicator Type: Overlay - Interactive Charts Only
The Double Exponential Moving Average is a technical indicator introduced by Patrick Mulloy in his January 1994 article "Smoothing Data With Faster Moving Averages" in Technical Analysis of Stocks & Commodities magazine. The purpose is to reduce the amount of noise present in price charts used by technical traders.
The DEMA uses two exponential moving averages (EMAs) to eliminate lag, as some traders view lag as a problem. The DEMA is used in a similar way to traditional moving averages (MA). The average helps confirm uptrends when the price is above the average, and helps confirm downtrends when the price is below the average. When the price crosses the average that may signal a trend change. Moving averages are also used to indicate areas of support or resistance.
- The Double Exponential Moving Average (DEMA) is one that responds more quickly to near-term price changes than a normal exponential moving average (EMA).
- The DEMA can be used in the same way as other MAs, as long as the trader understands the indicator will react quicker and contain less information since it's been smoothed twice. This may require some alteration of strategies.
- Less lag is not always a good thing because lag helps filter out noise. An indicator with less lag is more prone to reacting to noise or small inconsequential price moves.
- A longer-term time frame DEMA, e.g. over 100 periods, will be slower to react than a shorter-term time frame DEMA, of e.g. 20 periods.
Although the indicator is called a Double Exponential Moving Average, the equation does not rely on using a double exponential smoothing factor. Instead, the equation doubles the EMA, but then cancels out the lag by subtracted a smoothed EMA. Because of the complication of the equation, DEMA calculations require more data versus straight EMA calculations. However, modern spreadsheets and technical-charting packages easily calculate DEMAs.
DEMAs react quicker than traditional MAs, which means they are more likely to be used by day traders and swing traders. Investors may also use them, but since many long-term investors prefer to be less active in the assets they hold traditional MAs may work better.
DEMAs are used in the same ways as traditional MAs. DEMAs can also be used to analyze the strength of an uptrend or downtrend in price. Traders may watch for price to cross the DEMA, or DEMAs to cross each other if using multiple DEMAs (with different lookback periods). The DEMA may also provide support or resistance.
Mainly, traders watch price relative to the DEMA to assess the trend direction and trend strength. When the price is above the DEMA, and the DEMA is rising, it helps confirm an uptrend. When the price is below the DEMA, and the DEMA is falling, that helps confirm a downtrend.
Based on the above, if the price moves above the DEMA from below that could signal the downtrend is over and the price is starting to rise. If the price drops below the DEMA from above, that could signal the uptrend is over and lower prices are forthcoming.
Traders could also two (or more) DEMAs with different look-back periods on their chart. Trade signals could be generated when these lines cross. For example, a trader may buy when a 20-period DEMA crosses above a 50-period DEMA. They would sell when the 20-period crosses back below the 50-period. This is a simplified example, but a DEMA crossover is another tactic traders can use.
Finally, traders can use the DEMA to mark potential support and resistance areas. Since the DEMA reacts quickly, this may not always be effective. If viewing a DEMA, or any moving average, as potential support or resistance, it is important to make sure that the MA has actually provided support or resistance in the past. If the MA has not served this function in the past, it likely won't in the future.
Calculation:
DEMA = 2 × EMA(n) - EMA of EMA(n)
where: (n)=Look-back period
How to Calculate the Double Exponential Moving Average
- Choose any lookback period, such as five periods, 15 periods, or 100 periods.
- Calculate the EMA for that period, this is EMA(n).
- Apply an EMA with the same lookback period to EMA(n). This gives a smoothed EMA.
- Multiply two times the EMA(n) and subtract the smoothed EMA.
(Source: www.investopedia.com)
Default Parameters:
- Period (15) - the number of bars, or period, used to calculate the study
- Source (Close) - valid options are Open, High, Low, Close, HL/2, HLC/3, OHLC/4, HLCC/4
- Offset (0) - the number of bars to displace the moving average
Sample Chart: