Start Learning Free
Courses
All Courses → Beginner Course Intermediate Course Advanced Course Options Crash Course
Reference
Strategies Handbook
More
About Sal Contact
Handbook › MACD
Handbook

MACD

MACD is a momentum indicator built from two moving averages that signals shifts in trend strength. Learn how to read its lines, the signal cross, and the histogram.

MACD, short for Moving Average Convergence Divergence, is a momentum indicator that measures the relationship between two moving averages to reveal shifts in a trend's strength and direction. It turns the interplay of a fast and a slow average into a single, readable signal.

The name is a mouthful, but the idea is a race between two lines. Let me show you how it works.

A Race Between Two Averages

Picture two runners: a fast one and a slow one. The fast runner reacts quickly to changes in price; the slow one lags behind. MACD measures the gap between them.

The MACD line is the difference between a fast moving average (usually 12 periods) and a slow one (usually 26). When the fast runner pulls ahead, momentum is building upward and the MACD line rises. When it falls behind, momentum is fading and the line drops. A second line, the signal line (a 9-period average of the MACD line), acts as a trigger. The relationship between these two lines is the heart of the indicator.

A race between two averages
the gap reveals momentum
Fast pulls ahead
MACD rises above signal
Bullish momentum
A buy signal to many
Fast falls behind
MACD drops below signal
Bearish momentum
A sell signal to many
Read the crossover to gauge momentum shifts.

Reading the Signals

MACD gives a few distinct signals, and traders watch all of them.

The signal-line crossover. When the MACD line crosses above the signal line, it flags building upward momentum, a bullish signal. Crossing below flags fading momentum, a bearish one. These crossovers are the most common way MACD is traded.

The histogram. The bars beneath the lines show the gap between the MACD line and the signal line. Growing bars mean momentum is accelerating; shrinking bars mean it is stalling, often before a crossover even happens. The histogram is an early read on momentum.

Divergence. When price makes a new high but MACD does not, that "divergence" warns the trend is losing steam under the surface, a hint a reversal may be near. This is one of MACD's most valued signals.

What to Keep in Mind

MACD is a favorite, but it shares the limitations of the averages it is built from.

It lags. Because MACD is made of moving averages, it trails price and confirms momentum rather than predicting it. In fast reversals, its signals can arrive late.

It whipsaws in choppy markets. When a stock goes sideways, MACD can flash frequent crossovers that lead nowhere, generating false signals. It shines in trending markets and struggles in ranges. Like any single indicator, it works best as one input among several, confirmed by the trend and other tools, rather than obeyed on its own. Read that way, MACD is a clear, versatile gauge of momentum.

Key Takeaways
  • MACD measures momentum from the gap between a fast and slow average.
  • A signal-line crossover flags a momentum shift.
  • The histogram shows momentum accelerating or stalling early.
  • It lags and whipsaws in ranges, so confirm with other tools.

Pop Quiz

Three quick questions to see what stuck. Pick an answer and the explanation shows up right away.

What does MACD measure?

MACD tracks the difference between two moving averages to reveal shifts in momentum.

What is a bullish MACD signal?

A cross above the signal line flags building upward momentum, a classic bullish trigger.

When does MACD struggle?

In ranges it flashes frequent crossovers that lead nowhere, so it works best in trending markets.

Bottom Line

MACD reads momentum as a race between a fast and a slow moving average. Its crossovers flag shifts in direction, its histogram reveals momentum building or fading early, and its divergences warn when a trend is quietly running out of steam.

Because it is built from averages, it lags and whipsaws in sideways markets, so it is best used as one confirming input rather than a standalone oracle. In a trending stock, MACD is one of the clearest momentum reads available.

Keep going: it is built from moving averages, it pairs well with the RSI momentum gauge, and it is read against the trend.

Disclaimer: This content is for educational purposes only and is not financial advice. Options trading involves significant risk. Read full disclaimer
SM
Written by Sal Mutlu
Former licensed financial advisor. Currently an independent options trader and educator. No longer licensed. About Sal