education

MACD Indicator Explained: How to Read Crossovers, Histograms, and Divergence

MACD is built from two moving averages, but it behaves like a momentum gauge, not a trend line. The construction, the three real signals it gives, why it lags, and a real recent crossover on NVDA showing what the indicator actually looked like as the move happened.

Stock Alarm Team
Market Analysis
September 4, 2026
8 min read
#MACD#technical analysis#trading strategy#moving averages#momentum indicators

MACD is one of the most-cited indicators in trading, and one of the most misused. Most of that misuse comes from treating every line crossing as a buy or sell signal, in markets where the indicator is structurally prone to giving that signal too late or too often. Here's what MACD is actually built from, the three signals worth paying attention to, and a real recent example of what it looked like on NVDA as the stock rolled over and then recovered.


How MACD Is Built

MACD (Moving Average Convergence Divergence) is simpler under the hood than its reputation suggests. It's constructed from three pieces, all derived from two exponential moving averages (EMAs) of closing price:

ComponentFormulaWhat It Represents
MACD line12-period EMA − 26-period EMAThe gap between short-term and longer-term momentum
Signal line9-period EMA of the MACD lineA smoothed version of the MACD line, used to time entries
HistogramMACD line − signal lineThe rate of change between the two — shrinks before a crossover, expands after one

Because it's built from EMAs, which weight recent prices more heavily than older ones, MACD reacts faster than a simple moving average crossover but still trails price — it can only measure momentum that has already started to show up in closing prices.

When the MACD line is above zero, the 12-period EMA sits above the 26-period EMA, meaning shorter-term momentum is running hotter than the longer-term trend — generally read as bullish. Below zero, the reverse is true. The signal line exists purely to smooth the MACD line's own noise into something a crossover rule can be built on.

The 3 MACD Signals That Actually Matter

1. Signal Line Crossover (the entry trigger)

This is the signal most platforms default to and the one most traders think of as "MACD." When the MACD line crosses above the signal line, it's read as bullish — short-term momentum is accelerating relative to its own recent average. A cross below is read as bearish.

The catch: this crossover fires constantly in a sideways, range-bound market, because the two EMAs are drifting back and forth across each other with no real trend behind either move. The crossover is far more reliable when it happens after a clear directional move has already established — confirming continuation or an early-stage reversal — than as a standalone signal in a market that isn't trending at all.

2. Zero-Line Cross (the trend confirmation)

When the MACD line crosses from negative to positive, the 12-period EMA has moved above the 26-period EMA — a broader shift than a signal-line cross, and generally a slower, more deliberate one. Traders use the zero-line cross as confirmation that a new trend, not just a short-term bounce, may be underway.

Because it requires the shorter EMA to overtake the longer one outright, the zero-line cross lags the signal-line crossover by design. It's the more conservative of the two — later, but historically less prone to whipsaw in choppy conditions.

3. Divergence (the strongest, least common signal)

Divergence is what most experienced MACD users watch for over either crossover. It happens when price and the MACD line disagree about direction:

  • Bearish divergence: price makes a new high, but MACD makes a lower high. Momentum is fading even as price pushes to a new extreme — a classic warning that the move is running out of participants before it shows up in the price chart itself.
  • Bullish divergence: price makes a new low, but MACD makes a higher low. Selling pressure is weakening even though price hasn't turned yet.

Divergence doesn't time an entry by itself — price can keep extending for days or weeks after a divergence first appears — but it's the one MACD reading that's measuring something price alone can't show: whether the force behind a move is actually still there.

A Real Recent Example: NVDA's August-September Crossover

Rather than a hypothetical, here's what MACD (12, 26, 9) actually looked like on NVDA over two weeks, calculated from real closing prices:

DateCloseMACD LineSignal LineHistogram
Aug 17$225.015.513.68+1.82
Aug 20$216.854.254.16+0.09
Aug 21$214.723.654.06-0.40
Aug 26$209.661.543.08-1.53
Sep 1$217.442.292.67-0.38
Sep 2$224.412.672.670.00
Sep 3$228.453.262.79+0.47

Two things happened in real sequence. On Aug 21, the MACD line crossed below the signal line — histogram flipped negative — two days after price had already peaked near $225 and started rolling over. The stock kept falling for another three sessions, bottoming around $208-209 on Aug 24-26, well after the crossover had already fired. That's the lag: the signal confirmed the move was underway, it didn't call the top.

The reverse crossover landed on Sep 2-3, as the histogram crossed back through zero while the stock rallied from roughly $209 back to $228 over six sessions. Again, the crossover confirmed the recovery in progress rather than predicting it in advance — which is exactly the behavior to expect from an indicator built entirely from lagging moving averages.

This is also why the histogram is worth watching on its own, separate from waiting for the literal cross: in both cases here, the histogram was already shrinking toward zero for two to three sessions before the actual crossover — Aug 20's histogram at +0.09 was a visible warning the bullish momentum was nearly spent, a full day before the cross confirmed it. The histogram slope tends to turn before the line-cross event itself.

Why MACD Lags — and When That Matters Most

Every part of MACD is derived from EMAs of past closing prices, so by construction it can only report a shift in momentum after that shift has already started moving price. That's not a flaw to fix — it's what a moving-average-based indicator is.

The lag matters most in two situations:

Choppy, range-bound markets. When price oscillates without a clear trend, the 12- and 26-period EMAs cross back and forth repeatedly, and MACD throws off crossover signals that reverse within days — often losing money on the whipsaw before the "real" move (if there is one) ever develops.

Sharp, fast reversals. In a stock that gaps or drops quickly on news, MACD (like any EMA-based tool) will confirm the new direction only after several sessions of price data have fed into the calculation — well after the initial move.

MACD works best doing what it's designed for: confirming that a trend already visible in price structure or volume has real momentum behind it, not as the first tool used to spot a move.

Combining MACD with Other Signals

MACD alone produces meaningfully more false signals than most traders expect, particularly in sideways conditions. Two combinations reduce that:

MACD + RSI. RSI measures whether a move is stretched (above 70 overbought, below 30 oversold) on a bounded scale; MACD measures whether momentum is actually turning. A MACD bullish crossover that occurs while RSI is climbing out of oversold territory carries more weight than the same crossover with RSI sitting near 50 in a directionless range.

MACD + Volume. A signal-line crossover on rising volume reflects real participants pushing the move; a crossover on thin, below-average volume is far more likely to be noise that reverses within a few sessions.

Avoid trading every crossover. The single most common MACD mistake is treating each signal-line cross as an automatic trade. In range-bound stocks, that produces a high rate of small losing trades. Filtering crossovers by the broader trend (only take bullish crosses when price is above its 50-day moving average, for example) removes most of the worst signals.

Setting Alerts Around MACD Moves

MACD itself isn't a price level, so it can't be set as a direct price alert — but the moves it confirms almost always show up as price and volume events that can be:

  • Price alerts at recent swing highs/lows. Since MACD crossovers tend to confirm moves that are already a few sessions old, a price alert at the level where the prior swing high or low was set will often fire around the same time the crossover would, without requiring you to watch the indicator itself.
  • Volume spike alerts. Pairing a volume alert with a stock you're watching for a MACD setup means you get notified when the participation MACD needs to be reliable actually shows up.
  • Moving average alerts. Since MACD is built entirely from two EMAs, an alert on a 50-day or 200-day moving average cross captures a related, if slower, version of the same momentum shift MACD is measuring.

Want alerts like these? Get started free.

Join 295,000+ traders using Stock Alarm to stay ahead of the market.

See it work — free

Track markets, screen stocks, and set price alerts with Stock Alarm Pro. Explore the live markets free — no account needed. Trusted by 295,000+ investors.

S&P 500 Screener

Filter by metrics, fundamentals

Price Alerts

Never miss a move

35+ Global Markets

Stocks, crypto, futures

AI Analysis

Ask questions, get answers

Explore the markets free
Data is provided for informational purposes only and does not constitute investment advice. Past performance is not indicative of future results.