The moving average convergence divergence indicator, MACD for short, is one of the more widely used momentum tools in technical analysis, and understanding what it’s actually measuring will keep you from reading more into a signal than it can support.
The Math Behind the Indicator
At its core, the MACD is the difference between a shorter moving average and a longer one. For the standard daily version, that means subtracting a slower 26-day moving average from a quicker 12-day moving average. A third line, a 9-day moving average called the signal line, is plotted alongside the MACD to flag momentum shifts and possible trend reversals. Most technical traders use an exponential moving average (EMA) rather than a simple moving average for all three lines, since an EMA weights recent price data more heavily instead of treating every day in the lookback window equally. A histogram is often added on top, plotting the gap between the MACD line and the signal line, which makes it easier to see at a glance whether the two are converging or pulling apart.
Convergence, Divergence, and Crossovers
Convergence happens when the MACD and the signal line move toward each other, and the histogram bars shrink toward zero. Divergence happens when the MACD moves away from the signal line faster than it’s moving toward it, and the bars grow away from zero. A crossover, the MACD line crossing the signal line, coincides with the histogram crossing zero, and that’s typically read as a buy or sell signal.
But not every crossover means what it looks like it means. Context matters more than the crossover itself. In an established uptrend, the MACD will often oscillate between buy and sell signals while staying above the zero line the whole time. In an established downtrend, the same thing happens below zero. Those repeated crossovers usually mean momentum is wavering, not reversing, since the actual trend change tends to show up as a more decisive break, not a routine oscillation. That’s why it’s worth weighing every crossover against other indicators rather than trading it in isolation.
Location and Divergence From Price
Where the MACD sits relative to its own recent history matters too. Better signals tend to come from relatively high or low MACD readings, which usually means comparing the current reading against a two- to three-year lookback rather than just the last few weeks. Because the MACD’s range tends to follow the price up or down, a normalized version or a logarithmic price scale can give a cleaner read on volatile names than a raw MACD number. A MACD sitting near zero for an extended stretch usually points to a trendless stock, and signals generated in that kind of environment deserve extra skepticism.
One of the more useful applications is watching for divergence between the MACD and price itself. If price keeps setting new highs while the MACD’s peaks get progressively lower, that’s a sign bullish momentum is fading even though the price chart still looks strong. The reverse pattern, price setting lower lows while the MACD’s troughs rise, can signal fading bearish momentum. A single instance of this kind of divergence is a modest warning sign; multiple instances stacked over time carry more weight.
One Tool Among Several
Traders also run the MACD on weekly and monthly timeframes alongside the daily version. The longer timeframes generate fewer signals and typically prove more reliable, but they’re slower to confirm a trend change, so there’s a real tradeoff between speed and dependability. None of this makes the MACD a standalone system. It’s one read on momentum among several, and it produces plenty of false signals when used on its own, particularly in a market moving mostly sideways. Treating it as one input in a broader technical and fundamental process, rather than a trigger to act on by itself, is what actually separates useful signals from noise.
Educational only, not tax, legal, or investment advice. Check primary sources and speak with a qualified professional before making financial decisions.
