MACD (Moving Average Convergence Divergence) plots the difference between two exponential moving averages, usually the 12 and 26 period. A signal line — a 9-period average of that difference — is drawn over it, and a histogram shows the gap between the two. Crossovers indicate momentum shifts, the zero line marks where the two underlying averages cross, and divergence works as it does with RSI.
MACD plots the difference between two exponential moving averages. With the standard settings, it is the 12-period EMA minus the 26-period EMA. A signal line — a 9-period EMA of that difference — is drawn over it, and a histogram plots the gap between the two.
Everything MACD says is derived from Part 16. If you understood moving averages, you already understand this.
Where the MACD line comes from
The MACD line measures separation between the two averages. Rising means they are pulling apart — the fast average is accelerating away, so momentum is building. Falling means they are converging, so momentum is fading.
The signal line is a smoothed version of the MACD line. Its only job is to provide a reference for crossovers.
The histogram
The histogram is MACD minus signal. It crosses zero at exactly the moment the two lines cross, but its height is visible before that — which is why it often communicates a shift sooner than the crossover does.
The four signals
Signal line crossover. MACD crossing above its signal line suggests momentum turning up. The most-used MACD signal and the most lagging, since both lines are averages of averages.
Zero line cross. MACD crossing zero means the 12 EMA has crossed the 26 EMA — a slower, more significant event, and closer to a genuine change in trend character.
Histogram turn. The histogram peaking and beginning to shrink means momentum is fading before the lines actually cross. Earlier, and correspondingly noisier.
Divergence. Price makes a higher high while MACD makes a lower high. Identical logic to RSI divergence: a new extreme reached with less force behind it.
The limitation, stated plainly
MACD is built from moving averages, so it inherits their weakness completely: it fails in ranges.
In a sideways market the two EMAs sit close together and cross repeatedly. A trader following MACD crossovers through a consolidation accumulates a stream of small losses — which is exactly the drawdown-versus-broken-strategy distinction: the tool is out of season, not defective.
Key takeaway MACD is a momentum description, not a trade trigger. Its useful role is confirming that a setup you found in price structure has momentum behind it. A MACD crossover with no level and no structure is a line crossing another line.
Practical use
Confirm, do not initiate. Find the setup in structure — a level, a pullback, a break. Then check whether MACD agrees. If the histogram is shrinking while you plan a long, that disagreement is worth respecting.
Prefer the zero line for trend filtering. MACD above zero as a condition for taking longs is a cleaner filter than trading every signal crossover.
Watch the histogram for early warning on open positions. A histogram that peaks and shrinks while you are long is momentum draining — often a better reason to tighten a stop than to exit outright.
The standard 12-26-9 settings are near-universal. As with RSI’s 14, their popularity is part of their efficacy. InnoMP’s Market Watcher supports MACD alerts on zero-axis crosses and golden/death crosses, combinable with price conditions.
Next: Bollinger Bands and ATR — measuring volatility rather than direction.
- The MACD line is the 12-period EMA minus the 26-period EMA.
- The signal line is a 9-period EMA of the MACD line.
- The histogram plots MACD minus signal, so it crosses zero exactly when they cross.
- MACD crossing its zero line means the two underlying moving averages have crossed.