MACD Explained: How to Read the Lines, the Histogram and the Crossovers
MACD looks more complicated than RSI - two lines, a histogram, a zero line - but it is built entirely out of moving averages, and once you see that, every part of it becomes readable. The most important thing to understand about it is also the least advertised: everything it shows you is late, by design.
The short answer
MACD is the difference between a fast and a slow exponential moving average of price (12 and 26 periods by default). The signal line is a 9-period average of that difference, and the histogram is the gap between the two lines. Above zero, the fast average is above the slow one, so recent price has been stronger than the longer-term average. Crossovers mark changes in that relationship, but because they are averages of averages, they arrive after the move has already started. Read MACD as a description of trend and momentum, not a trigger.
What MACD is built from
MACD stands for Moving Average Convergence Divergence. The name describes the mechanics directly.
The three parts
The MACD line. The 12-period exponential moving average minus the 26-period exponential moving average. When short-term price is running above the longer-term average, this is positive. When it is running below, negative.
The signal line. A 9-period exponential moving average of the MACD line itself - a smoothed version of the first line.
The histogram. The MACD line minus the signal line, drawn as bars. It shows how far apart the two lines are, and whether that gap is growing or shrinking.
Because every component is derived from moving averages of price, MACD contains no information that is not already in the price chart. It reorganises that information in a way that makes changes in trend and momentum easier to see. That is genuinely useful, but it is a lens, not a new data source.
The zero line
The simplest MACD read is also one of the most robust: which side of zero is the MACD line on?
Above zero, the fast average is above the slow average, which is another way of saying price has recently been stronger than its longer-term trend. Below zero, the reverse. A MACD line that has spent weeks above zero describes an uptrend; one that keeps crossing back and forth describes a market without a clear direction.
A cross of the zero line is the same event as the two underlying moving averages crossing each other. That is a slow signal by nature - by the time a 12-period average overtakes a 26-period one, price has usually been moving for a while.
Signal-line crossovers
The crossover most people mean when they say "MACD crossover" is the MACD line crossing its signal line.
- Bullish crossover: MACD line crosses above the signal line. Short-term momentum has turned up relative to its own recent average.
- Bearish crossover: MACD line crosses below the signal line. Short-term momentum has turned down.
These happen frequently, and in sideways markets most of them lead nowhere: the lines weave around each other while price chops in a range. Crossovers are much more coherent in trending markets, which creates the obvious problem - you only know the market was trending after the fact.
Why everything arrives late
It is worth being explicit about the lag, because it is structural. The MACD line is a difference of two averages. The signal line is an average of that. A crossover is therefore an average-of-an-average event, and it will always confirm a turn after the turn began.
That is not a flaw in the indicator; it is the price of smoothing. Smoothing removes noise, and removing noise necessarily delays the signal. Faster settings reduce lag and add noise. Slower settings do the opposite. There is no setting that is both early and clean.
The practical consequence: MACD is better at telling you what kind of market you are in than at telling you when to act.
Reading the histogram
The histogram is the most responsive part of MACD, because it measures the gap between the two lines rather than the lines themselves. Before the lines cross, the gap has to shrink - so the histogram bars get shorter before the crossover happens.
That gives a simple read:
| Histogram | What it describes |
|---|---|
| Above zero and growing | Upside momentum is accelerating. |
| Above zero and shrinking | Still positive, but momentum is fading. A bearish signal-line cross may follow. |
| Below zero and growing (more negative) | Downside momentum is accelerating. |
| Below zero and shrinking | Still negative, but selling pressure is fading. |
Shrinking bars are an early hint, not a confirmed turn. Momentum can fade and re-accelerate without any crossover at all.
MACD divergence
The same divergence logic used for RSI applies. If price makes a higher high while the MACD line or histogram makes a lower high, momentum behind the new high was weaker. The reverse applies at lows.
The same caveats apply too. Divergence describes fading momentum, not an imminent reversal, and it can persist through several more swings in the trend direction. It carries more weight at a level that already matters and on a higher timeframe.
Settings
12, 26 and 9 are the defaults and by far the most commonly used, which is itself a reason to keep them: they are the settings most other participants are looking at. Some traders use faster settings on short timeframes. As with any indicator, changing settings until past signals look good is curve-fitting, and it rarely survives contact with the next stretch of data.
MACD versus RSI
They are often shown together and often treated as redundant. They are related but not identical. RSI is bounded between 0 and 100 and answers "how forceful have recent up-moves been compared to down-moves". MACD is unbounded and answers "how far is short-term price trending away from the longer-term trend, and is that gap widening". RSI tends to be more useful for spotting stretched moves in ranges; MACD tends to be more useful for describing trend direction and its changes. Neither one predicts.
A worked reading, in words
Picture a daily chart where price has been falling for several weeks. MACD has been below zero the whole time, and the histogram has been printing long negative bars.
Then the histogram bars start getting shorter. Selling momentum is fading, though MACD is still below zero and the trend is still down. A few days later the MACD line crosses above the signal line: a bullish signal-line crossover, below zero. That tells you short-term momentum has turned up relative to its recent average. It does not tell you the downtrend is over, because the fast average is still below the slow one.
What would make the picture more convincing? Price breaking its most recent swing high, ending the sequence of lower highs. MACD eventually crossing above zero, meaning the 12-period average has overtaken the 26-period one. Ideally, both of those happening near a level that has mattered before. Each step adds evidence; none of them alone is a verdict. And at every step, the indicator is describing price behaviour that has already happened.
Common MACD mistakes
- Treating every crossover as a signal. In ranges, the lines cross constantly and most crossovers lead nowhere.
- Ignoring which side of zero the crossover happened on. A bullish crossover deep below zero is a bounce in momentum during a downtrend. A bullish crossover above zero is momentum resuming inside an uptrend. They are not the same event.
- Reading the histogram as a forecast. Shrinking bars mean momentum is fading. They do not mean a reversal is coming.
- Comparing MACD values across instruments. MACD is measured in price units, so its values depend on the price level and volatility of the instrument. A MACD of 2 means something very different on a stock trading at 20 than on one trading at 2,000. Compare MACD to its own history on the same chart.
- Using it as independent confirmation of a moving average crossover. MACD crossing zero is a moving average crossover. Counting both as separate evidence is double-counting.
Where MACD is most useful
MACD tends to earn its place as a trend-character gauge. Is the market trending, and is that trend strengthening or weakening? Those are the questions it answers clearly. It is least useful in tight sideways markets, where it generates a stream of crossovers with no follow-through, and as an entry trigger, where its built-in lag works against you. Pair it with price structure and levels rather than reading it alone.
Reading MACD from a screenshot
An AI read of a chart screenshot can describe where the MACD line sits relative to zero, whether the lines have recently crossed, and whether the histogram is expanding or contracting - all visible features of the image. It cannot reliably know the settings unless they are labelled on the chart, and it cannot see crossovers that happened off the edge of the frame. If MACD is central to how you read a chart, make sure the panel and its label are clearly visible before you analyse it.
Frequently asked questions
What do the MACD settings 12, 26, 9 mean?
12 and 26 are the periods of the fast and slow exponential moving averages that are subtracted to make the MACD line. 9 is the period of the exponential moving average applied to the MACD line to make the signal line. They are the original defaults and still the most widely used.
Is a MACD crossover a buy or sell signal?
It is a description of momentum turning, not an instruction. A bullish crossover means short-term momentum has risen above its own recent average; a bearish one means the opposite. In sideways markets many crossovers lead nowhere, and in all markets they arrive after the move has begun, because the indicator is built from averages.
What does it mean when MACD is above zero?
The 12-period exponential moving average is above the 26-period one, meaning recent price has been stronger than the longer-term average. Sustained time above zero describes an uptrend. It says nothing about whether the trend will continue.
Why does the MACD histogram shrink before a crossover?
The histogram is the distance between the MACD line and the signal line. For the lines to cross, that distance has to fall to zero, so the bars get shorter first. That makes the histogram the earliest-moving part of MACD, though shrinking bars can also simply re-expand without any crossover.
Related Articles
- The RSI Indicator Explained: How to Read It Without Fooling Yourself
- How to Read Volume on a Stock Chart: Volume Analysis for Beginners
- How to Read a Stock Chart, in the Order You Should Read It
Scope
This article is educational and is not financial, investment, or trading advice. Nothing here is a recommendation to buy, sell, or hold any security, cryptocurrency, currency, commodity, or derivative. Technical analysis describes what a chart has already done; it does not predict what it will do, and every pattern described here fails a meaningful share of the time. Trading involves risk of loss. Do your own research and consult a licensed financial professional before making any trading decision. ChartCheck is made by the author of this site.