What is MACD (Moving Average Convergence Divergence)?
MACD, short for Moving Average Convergence Divergence, is a momentum indicator that shows the gap between a fast and a slow exponential moving average of the price. Gerald Appel designed it to show in a single line whether short-term momentum is running ahead of the longer-term trend or falling behind it. When the fast average pulls away above the slow one, the MACD line rises above zero; when it drops below, the line falls under zero. Because it is built from moving averages, it follows trends rather than predicting them.
How it is calculated
The MACD line is the 12-period EMA of the closing price minus the 26-period EMA, and a 9-period EMA of the MACD line itself is drawn beside it as the signal line. Most charts also plot a histogram, the MACD line minus the signal line, as bars above or below zero. Appel's settings (12, 26, 9) are the standard default, and because the numbers count periods, the same indicator works on daily, weekly or intraday bars.
How traders read it
Three things get most of the attention. The first is the zero line: MACD above zero means the faster average sits above the slower one. The second is a crossing of the MACD and signal lines, which is read as momentum changing direction. The third is the histogram, whose bars usually shrink before a crossing, so a narrowing histogram is often described as momentum fading. Traders also look for divergence, where the price reaches a new extreme but MACD does not, as a sign that the push behind the move is weakening.
The common mistake
The common mistake is treating every crossing as meaningful. In a sideways market the two lines weave around each other and produce crossings that reverse within a few bars. Another is comparing MACD values across different assets. The line is measured in price units, so a large reading on an expensive asset and a small one on a cheap asset are not stronger or weaker momentum, just different prices. People compare the shape and direction of the line on one chart, not the raw number.
What it cannot tell you
MACD cannot tell you how far a trend will go or where it will end. Since it is made of moving averages, its turns arrive after the price has already turned, and in fast reversals that delay can be large. It has no fixed upper or lower bound, so it has no built-in overbought or oversold level. It ignores volume and fundamentals entirely. It summarises how two averages relate to each other, which is useful context, but it describes the price behind it, not the price ahead.
Try it on real data
Open a chart and switch the indicator on, or filter the market by it in the screener. Both are free; what you see is data, not a call to act.
Sources and default settings
- Gerald Appel, Technical Analysis — Power Tools for Active Investors (FT Prentice Hall, 2005)
- How this lesson is made: written with AI assistance from the sources above, then checked by our editorial rules (formula and default settings against the originator, no buy/sell language, no dates or prices) before it is published.
- Defaults used here: fast 12 · slow 26 · signal 9
Education only. This lesson explains how an indicator is built and how it is commonly read; it says nothing about any asset and is not a signal to buy or sell anything.
DATA JOURNALISM, NOT INVESTMENT ADVICE. InvestMuse provides analytical and backtesting software for informational purposes only. It surfaces patterns in price, fundamentals, news sentiment, and historical analogues across 1,397 assets. No trade execution, no brokerage connectivity, no personalized investment recommendations, no trading signals. We do not issue ratings or targets. All output is educational. Decisions are yours. Past performance does not guarantee future results.