obsidiate.
Technical analysis
IntermediateLesson 5 of 106 min read

MACD: momentum, twice removed

MACD has a reputation as an advanced indicator, mostly because it draws three things at once and has an acronym. Under the hood it is disarmingly simple: it measures the gap between two moving averages, then smooths that gap, then charts the difference between the gap and its smoothing. Every piece is built from EMAs of price — which means MACD is a derivative of a derivative, momentum twice removed from the market itself. That distance is both its weakness and, used correctly, its discipline.

Knowing the construction is not optional trivia here. Almost every mistake people make with MACD — chasing crossovers in chop, treating the zero line as a level, panicking at histogram wiggles — comes from forgetting what the lines are actually made of.

The construction, in three steps

  1. Compute a fast EMA and a slow EMA of price — the standard settings are 12 and 26 periods. Subtract: MACD line = 12 EMA minus 26 EMA. When the fast average is above the slow, the line is positive and rising momentum has been pulling them apart.
  2. Smooth the MACD line itself with a 9-period EMA. This is the signal line — an average of an indicator, there purely to define crossovers.
  3. Subtract signal from MACD and plot the result as bars: the histogram. It shows whether the gap between the two lines is widening or narrowing — acceleration and deceleration of momentum.

A concrete read: if a stock’s 12 EMA sits at 105 and its 26 EMA at 102, MACD is +3 — short-term average price has pulled three points above the longer-term average. If MACD was +4 last week, momentum is still positive but fading, and the histogram will have started shrinking even though both price and the MACD line remain elevated. That shrinking is often the first whisper of a turn — and frequently just a pause.

The three signals everyone trades

  • Signal-line crossover: MACD crossing its 9-EMA. The fastest, most frequent, and noisiest signal — in a sideways market it fires constantly and means almost nothing.
  • Zero-line cross: MACD crossing zero means the 12 EMA crossed the 26 EMA. It is literally a moving-average crossover wearing a different outfit, with the same late-but-durable character.
  • Histogram divergence: price makes a new extreme while the histogram makes a smaller one — momentum behind the latest push is weaker. The most informative of the three, and still only a warning.

Lag: the bill for smoothness

Every EMA lags price; MACD stacks three of them. By the time a signal-line crossover prints, the move that caused it is meaningfully underway, and by the time the zero line confirms, the easy part of the trend has often been served. In ranges this gets worse: each oscillation generates crossovers near its end, systematically selling lows and buying highs in miniature. None of this is a flaw to be tuned away — shortening the settings just trades lag for noise. It is the price of the product. Smoothing means waiting; you cannot buy one without the other.

Put numbers on it. Imagine a market that bottoms at 100 and rallies steadily. The 12 EMA crosses the 26 EMA — the zero-line signal — perhaps when price is already near 110; the earlier signal-line crossover fired around 104, but it also fired twice during the basing chop and lost money both times. Whichever signal you prefer, the bargain is identical: pay with lateness or pay with false positives. Traders who understand this stop asking MACD to call bottoms and start asking it the question it can actually answer — is the move I am already watching gaining or losing force?

Never take a MACD crossover as a standalone entry. Demand that price structure agrees — a level, a trend, a break — and let MACD confirm or veto, not initiate.

Where MACD earns its keep

First, as a trend filter on higher timeframes. On daily or weekly charts, requiring MACD to be on the right side of zero before taking trades in that direction is a crude rule that keeps you out of an impressive number of countertrend adventures — exactly because the lag that ruins it as a trigger makes it stubborn as a filter. Second, as a momentum-health gauge: a string of shrinking histogram bars during a rally tells you the advance is coasting rather than accelerating, which is good context for tightening risk even when nothing else looks wrong. Third, histogram divergence at well-defined levels — a weaker momentum push into major resistance — stacks two independent cautions into a decent reason for restraint.

What MACD cannot do is anticipate. It is arithmetic on the recent past, and it will be serenely positive at the exact moment a surprise headline deletes the trend it was describing. Use it to organize what already happened — that is the honest job description, and done well, it is a useful one.

Key takeaways

  • MACD is the gap between a 12 and 26 EMA, smoothed by a 9 EMA, with the histogram showing that gap’s change — derivatives of derivatives of price.
  • Signal-line crossovers are fast and noisy; zero-line crosses are just MA crossovers in disguise; histogram divergence is the most informative signal of the three.
  • Lag is structural — three layers of smoothing mean every signal describes a move already in progress.
  • MACD performs worst as a standalone trigger in ranges and best as a trend filter and momentum-health gauge on higher timeframes.
  • Let structure and levels initiate trade ideas; let MACD confirm, contextualize, or veto.