What is Moving Average Convergence Divergence(MACD)?
Key Takeaways
Moving Average Convergence and Divergence (MACD) is a simple and effective momentum indicator that shows the relationship between two moving price averages.
The relationship between the MACD line and its signal line can generate trading signals.
MACD indicators can be interpreted as crossovers and divergences.
Understanding MACD
Moving Average Convergence and Divergence (MACD) was proposed as a trend-following momentum indicator by Gerald Appel in 1979.
The MACD usually has three components. The MACD line is the 12-day Exponential Moving Average (EMA) minus the 26-day EMA. The second line is the signal line, which is the 9-day EMA of the MACD. The last component is the MACD histogram, which is the difference between the MACD line and the signal line. However, the parameters of the MACD line can also adjust depending on the traders' preference. To distinguish these components easily, DIF always refers to the MACD line, and DEA always refers to the signal line.
(Images provided are not current, and any securities are shown for illustrative purposes only.)
The basic idea of the MACD line is that the shorter-term EMA reflects current price action, whereas the longer-term one indicates earlier. So, if there is a good separation between these two EMAs, the market is trending either up or down. And the MACD histogram, which oscillates around a zero line, indicates the strength of the trend.
How to interpret MACD?
Crossovers
The crossovers of the MACD line and the signal line can indicate a price change trend. Some examples are shown in the following charts.
A bullish signal is identified when the MACD line crosses from below to above its signal line.
(Images provided are not current, and any securities are shown for illustrative purposes only.)
A bearish signal is identified when the MACD line crosses from above to below its signal line.
(Images provided are not current, and any securities are shown for illustrative purposes only.)
Divergence
Divergence is shown when the MACD line and the price have opposite trends. The divergence signal may indicate the possible reversal of a trend.
For example, if the MACD line is trending higher as the price makes a lower low, a bullish divergence occurs, indicating the price movement may turn bullish.
(Images provided are not current, and any securities are shown for illustrative purposes only.)
Conversely, if the MACD line is trending lower as the price records a higher high, a bearish divergence occurs, indicating the price movement may turn bearish.
(Images provided are not current, and any securities are shown for illustrative purposes only.)
Limitations of MACD
The MACD is a simple and useful indicator, but it still has some limitations.
Since moving averages are lagging indicators because they measure how a stock's price has changed over a period of time, they tend to signal late. Typically, the market trends move a few days before a fast-moving average crosses a slower-moving average. By the time the MACD crossover finally signals, it may have missed some gains and, in the worst-case scenario, may have been shaken when the market turned in the opposite direction.
While the crossover strategy has limitations as a lagging indicator, the momentum divergence strategy has the opposite problem. It can signal a reversal prematurely, causing traders to trade at the wrong time. The problem arises because converging or diverging trends do not always lead to reversals.
So, it is better to use other indicators or time frames in conjunction with a crossover or momentum divergence strategy.