MACD Line, Signal Line, and Histogram: What Each Actually Measures
The MACD line measures the gap between two price averages, the signal line smooths that gap, and the histogram shows how far apart the two lines are. Learn why a shrinking histogram can accompany a rising MACD line and how to distinguish the two kinds of zero crossings.

A positive MACD histogram can shrink while the MACD line and the signal line both rise. That combination makes sense once you know what each part of the indicator measures. In this case, the MACD line is still above the signal line, but the signal line has moved closer to it. The shorter bar shows a smaller gap between the lines, even though both values have increased.
MACD stands for moving average convergence divergence. It tracks relationships between smoothed prices and displays those relationships in a panel with two lines and a set of bars. Reading the panel starts with three questions. How far apart are the price averages? Where has that gap been recently? How far is the current gap from its own moving average?
How the three MACD components are calculated
The common 12, 26, 9 setup uses two exponential moving averages of closing prices and one exponential moving average of the resulting MACD values. An exponential moving average, or EMA, combines the latest observation with the previous average. Recent observations receive more weight, while earlier observations retain progressively less influence. A shorter EMA gives the newest observation more weight than a longer EMA does.
| Component | Calculation | What the value tells you |
|---|---|---|
| MACD line | 12-period price EMA minus 26-period price EMA | The signed gap between the faster and slower price averages. |
| Signal line | 9-period EMA of the MACD line | The smoothed value of the gap between the price averages. |
| Histogram | MACD line minus signal line | The signed gap between the current MACD value and its smoothed value. |
The MACD line compares two price averages
Suppose a hypothetical stock’s faster EMA is $52.40 and its slower EMA is $51.20. The MACD line reads +1.20 because the faster average is $1.20 higher. A reading of −1.20 would put the faster average $1.20 below the slower one. At zero, the averages are equal.
The sign and direction of the line tell you different things. If MACD falls from +1.20 to +0.90, the faster average remains above the slower average and the gap narrows. If MACD rises from −1.20 to −0.90, the faster average remains below the slower average and the gap also narrows. In both cases the averages converge, even though the MACD line moves in opposite directions.
The signal line smooths the MACD line
Each new MACD reading becomes an input to the signal line. Under the standard nine-period EMA calculation, the new MACD value receives a 20% weight and the prior signal value receives an 80% weight. For example, a hypothetical MACD reading of +1.20 and a prior signal value of +0.95 produce a new signal value of +1.00. That weighting is why the signal line generally changes more gradually than the MACD line around a sharp move.
A positive signal value describes the smoothed history of the spread. A sudden drop in MACD can take it below zero while the signal line stays positive, since earlier positive MACD readings still influence the average. To see which price EMA is higher on the current bar, read the MACD line itself.
The histogram measures the distance between the lines
With MACD at +1.20 and the signal line at +1.00, the histogram reads +0.20. The positive sign puts MACD above the signal line, and the bar extends 0.20 units from zero. If MACD is +1.20 and the signal line is +1.30, the histogram reads −0.10. Both lines are positive, and the histogram is negative because MACD is below the signal line.
All three readings retain the units of the input price. On a chart of a stock quoted in U.S. dollars, a histogram reading of +0.20 represents a 20-cent difference between the two indicator lines. A stock’s daily percentage change is a separate calculation using its prices.
MACD histogram vs signal line
The signal line gives you a smoothed reference for the current MACD value. The histogram makes the distance from that reference easy to see, particularly when the two lines are close together. Since every bar comes from subtracting the signal line from the MACD line, viewing the bars and the lines together shows the same relationship in two forms.
Separate the sign of a bar from its size
Read a histogram bar in two steps. First, check which side of zero it is on. Then compare its distance from zero with the previous bar. The first step tells you the order of the lines, and the second tells you whether they have drawn closer together or moved farther apart.
- Positive and taller. MACD is above its signal line, and the gap has widened.
- Positive and shorter. MACD is above its signal line, and the gap has narrowed.
- Negative and extending farther below zero. MACD is below its signal line, and the gap has widened.
- Negative and closer to zero. MACD is below its signal line, and the gap has narrowed.
The distinction matters when someone describes a bar as rising. A histogram that moves from −0.30 to −0.10 has risen numerically, while its bar has shortened. MACD remains below its signal line, now by 0.10 instead of 0.30. Chart colors may encode sign, change from the previous bar, or both, so the zero line and the values are more direct guides.
Compare two hypothetical sessions
In Scenario A, MACD starts at +1.20 and its signal line is +1.00. On the next completed bar, MACD rises to +1.22 and the signal line rises to about +1.04. After rounding, the histogram goes from +0.20 to +0.18. The gap between the price averages widens slightly, while the gap between MACD and its smoothed reference narrows because the signal line rises faster over that interval.
In Scenario B, the same starting values are followed by a MACD reading of +1.10 and a signal reading of +1.02. The next histogram bar is +0.08. The signal line still rises because the new MACD reading is above the prior signal value. This time the MACD line falls, so the gap between the price averages narrows as well.
Both scenarios produce a shorter positive histogram bar, even though the MACD line moves in opposite directions. To tell these scenarios apart on a chart, look at how the MACD line itself moved between the two bars. To find out how the stock closed, look at the price panel.
What crosses zero in a MACD panel?
A histogram sign change shows that the MACD and signal lines have switched order. At exactly zero, the two indicator lines are equal. On a chart of completed bars, you may see a positive value followed by a negative value with no observed bar at exactly zero. A line drawn between those observations still depicts a crossover.
A MACD line sign change shows that the two price EMAs have switched order. At exactly zero, the faster and slower price averages are equal. The histogram at that point depends on the signal line, which carries forward information from preceding MACD readings. The two sign changes can therefore occur on different bars.
For example, suppose a hypothetical MACD line drops from −0.25 to −0.35 while its signal line moves from −0.30 to −0.31. The histogram changes from +0.05 to −0.04. MACD crosses below its signal line while remaining below zero throughout, so the faster price average stays below the slower price average. If a plotted bar appears to sit at zero, the displayed precision can also matter. A small nonzero value can round to 0.00.
What settings and price context change
A period is one bar on the selected chart
On a daily chart, the standard settings use 12-, 26-, and 9-period EMAs updated with each daily bar. On a weekly chart, the same numbers refer to weekly bars. The input prices and the smoothing span therefore change with the chart interval. A daily histogram can be negative while a weekly histogram is positive because each compares its own MACD line with its own signal line.
When comparing readings from two charts of the same stock, check the bar interval, the indicator settings, and the price series used. For example, a chart that adjusts past prices for a stock split can give different readings from a chart that uses unadjusted prices. During an open bar, the latest available price can update the indicator repeatedly. A crossover visible before the bar closes can disappear by the close.
Raw bar heights depend on the price scale
If you double every price in a hypothetical series, the corresponding price EMAs, MACD line, signal line, and histogram also double when calculated consistently. The percentage moves remain identical. This is why a histogram of +2.00 on one stock and +0.20 on another cannot rank their momentum by bar height alone. On a single chart with consistent settings and price inputs, those readings can show how the gap between the indicator lines changed over time.
Crossovers describe relationships among past and current prices
Both price averages incorporate earlier observations, and the signal line adds another layer of smoothing. As a result, the price chart can change direction while the moving averages still reflect the earlier move. In a sideways stretch, the MACD and signal lines can also switch order repeatedly as small price swings change the gap. Each crossover records a change in the plotted relationship. Its formula supplies neither a probability of a future move nor a forecast for its size.
A short routine for reading a MACD chart
- Check the configuration. Identify the bar interval and indicator periods, and note whether the latest bar has closed.
- Find the MACD line relative to zero. Its sign tells you which price EMA is higher. Its change tells you how their signed spread moved.
- Compare the MACD and signal lines. Use the histogram sign to confirm their order and the bar’s distance from zero to see whether their gap widened or narrowed.
- Look back at the price panel. Compare the closes over the same bars to see what the stock did while those indicator relationships changed.
For practice, pause a historical chart at any completed bar and describe the price-average gap and the indicator-line gap in separate sentences. Then advance one bar and repeat. If the faster price average stays above the slower one while a positive histogram bar shrinks, you can account for both observations directly. The price averages still have the same order, and the MACD line sits closer to its smoothed reference.
By FinancemonkPublished
← More from the journal