Moving Average Convergence Divergence, usually shortened to MACD and often pronounced "mac-dee", is a technical analysis indicator that measures momentum by comparing two exponential moving averages of an asset's price. When the shorter average pulls away from the longer one, momentum is building; when they draw together, it is fading. MACD is shown as a line, a slower signal line and usually a histogram of the gap between them.
The indicator was developed by the analyst Gerald Appel in the late 1970s, and the histogram was added later by Thomas Aspray. It is one of the most widely used tools on stock, currency, commodity and crypto charts, and it is built directly on the idea of the moving average. Traders often pair it with an overbought and oversold gauge such as the Relative Strength Index.
MACD in plain terms
Imagine two runners on the same track, one quick to react and one slower. The quick runner follows every change in pace, while the slower one responds more gradually. When the race speeds up, the quick runner surges ahead and the gap widens. When the pace eases, the slower runner catches up and the gap closes.
MACD measures that gap between a fast and a slow average of prices. A growing positive gap means prices are rising with increasing force; a shrinking gap means the push is weakening, even if prices are still rising. Traders watch for the moment the gap starts to turn, as an early hint that the trend may be changing.
Formula and example
With the standard settings of 12, 26 and 9 periods:
- and are exponential moving averages of the closing price over 12 and 26 periods.
- is a 9-period exponential moving average of the MACD line itself.
- is the difference between the MACD line and the signal line.
For example, if a coin's 12-day EMA is 64,500 and its 26-day EMA is 63,800, the MACD line is 64,500 − 63,800 = 700. If the signal line stands at 550, the histogram is 700 − 550 = 150. A positive MACD above a rising signal line, with a growing histogram, describes strengthening upward momentum.
How traders read MACD
- Signal-line crossovers. The MACD line crossing above the signal line is read as a bullish signal and crossing below as bearish. These are the most common signals but also the most frequent false ones.
- Zero-line crossovers. MACD moving from negative to positive means the 12-period average has risen above the 26-period average, a sign of a shift to upward momentum.
- Divergence. If prices make a new high but MACD makes a lower high, momentum may be weakening, a possible warning of a reversal. The reverse pattern near lows can signal a potential bottom.
- Histogram changes. A shrinking histogram shows momentum fading before a crossover happens, so some traders use it for earlier warnings.
Settings and use in crypto
The 12, 26 and 9 settings are the defaults on almost every charting platform. Many traders use them unchanged, partly because widely watched signals can become self-reinforcing, while others shorten them for faster signals or lengthen them to filter out noise. Because crypto markets trade around the clock, MACD is applied to hourly, four-hour, daily and weekly charts, and signals on longer time frames are generally considered more meaningful. MACD is commonly built into crypto trading bots and alerts on exchanges. Unlike oscillators such as the RSI or the Money Flow Index, MACD has no fixed upper or lower bound, so its values are not comparable between assets with different prices.
Some traders also apply MACD to the ratio between two assets, such as a coin priced in bitcoin rather than in dollars, to judge whether one is gaining momentum against the other. Others compare MACD readings on several time frames at once, taking a trade only when the daily and weekly charts agree.
Limitations
MACD is a lagging indicator because it is built from moving averages, so it often signals after a move has already started. In sideways or choppy markets it produces many crossovers that quickly reverse, a problem sometimes described as whipsaw or a fakeout. Divergences can persist for a long time without a reversal, especially in strong trends during a bull market. MACD also ignores volume, so it is often combined with volume tools such as the Klinger Oscillator and with chart analysis and trend analysis. Like other indicators, it summarises past prices and offers no guarantee about future moves, and its signals are most useful as part of a plan that includes position sizing and exit rules.