Home โ€บ Strategy & Technical Analysis โ€บ What Is MACD and How Do Traders Use It?

What Is MACD and How Do Traders Use It?

i Short answer

MACD (Moving Average Convergence Divergence) consists of three parts: the MACD line (the difference between a 12-period and 26-period exponential moving average), the signal line (a 9-period EMA of the MACD line itself), and the histogram showing the gap between them.

A MACD line crossing above the signal line is generally read as bullish, crossing below as bearish, and many traders also watch for divergence between MACD and price as a more meaningful momentum signal than a simple crossover alone.

MACD: The Core Components

12-Period EMAFaster moving average used in the MACD line
26-Period EMASlower moving average used in the MACD line
9-Period EMASignal line, an EMA of the MACD line itself
UnboundedUnlike RSI, MACD has no fixed 0-100 range

12, 26, 9 is the conventional default, developed by Gerald Appel in the late 1970s.

1. The three components of MACD

MACD consists of three distinct parts working together. The MACD line itself is calculated as the difference between a 12-period and 26-period exponential moving average, capturing the relationship between shorter-term and longer-term price momentum.

The signal line is a 9-period exponential moving average of the MACD line itself, essentially a smoothed version used for comparison. The histogram, often displayed as bars beneath the main lines, shows the numerical difference between the MACD line and the signal line, visually representing how far apart the two currently are and in which direction that gap is changing.

2. What a MACD crossover signals

When the MACD line crosses above the signal line, it's generally interpreted as a bullish signal, suggesting upward momentum may be building in the underlying instrument. When the MACD line crosses below the signal line, it's generally interpreted as a bearish signal, suggesting downward momentum may be building instead.

Neither crossover guarantees a sustained move will follow, particularly in choppy or range-bound conditions where the two lines can cross back and forth repeatedly without a genuine sustained trend actually developing, producing misleading signals if traded mechanically every time.

3. MACD divergence: a deeper signal

Divergence occurs when price makes a new high (or low) that MACD does NOT confirm with its own corresponding new high (or low), suggesting the underlying momentum behind the move is genuinely weakening even as price itself continues moving in the same direction on the surface.

Many experienced traders consider divergence a more meaningful signal than a simple crossover alone, since it reflects an actual, measurable change in underlying momentum rather than just two lines crossing at an arbitrary point. Bearish divergence (price higher highs, MACD lower highs) can precede a reversal in an uptrend, bullish divergence the equivalent in a downtrend.

4. MACD versus RSI

MACD and RSI both measure momentum, but through entirely different mathematical approaches. MACD tracks the relationship between two exponential moving averages and isn't bounded to any fixed numerical range, while RSI is bounded between 0-100 and focuses specifically on the ratio of average up-moves to average down-moves over a set period.

Many traders use both together rather than relying on either in isolation, since they can occasionally give meaningfully different readings on the exact same price action, providing a useful cross-check that helps filter out signals only one indicator is flagging while the other isn't.

5. Can the standard settings be adjusted?

Yes, though 12, 26, 9 has become the widely used conventional default since Gerald Appel developed the indicator in the late 1970s. Shorter periods make MACD more sensitive and responsive to recent price action, generating more frequent signals but also more noise from insignificant short-term fluctuations.

Longer periods smooth the reading out considerably, producing fewer, generally more significant signals but with correspondingly more lag before the indicator reflects a genuine shift in underlying momentum, a trade-off worth calibrating to your specific trading timeframe and style.

6. Does MACD work the same across timeframes?

The underlying calculation applies identically to any timeframe, from 1-minute charts up to weekly charts, though the practical reliability and appropriate interpretation of the resulting signals can vary meaningfully between them. Shorter timeframes generally produce more frequent but noisier signals, reflecting the greater relative noise present in very short-term price action.

Longer timeframes produce fewer but generally more significant signals, worth aligning your chosen timeframe with your specific trading style and typical holding period, a day trader and a swing trader will reasonably find different timeframes more useful for the same underlying MACD calculation.

Key Takeaways

  1. MACD consists of three parts: the MACD line (12-period minus 26-period EMA), the signal line (9-period EMA of the MACD line), and the histogram showing their difference.
  2. A MACD line crossing above the signal line is generally interpreted as bullish, crossing below as bearish, though neither guarantees a sustained move.
  3. MACD divergence, where price makes a new high or low that MACD doesn't confirm, is considered by many traders a more meaningful signal than a simple crossover alone.
  4. MACD and RSI both measure momentum through different mathematical approaches, MACD is unbounded and tracks moving average relationships, RSI is bounded 0-100.
  5. 12, 26, 9 is the widely used conventional default setting, though shorter periods increase sensitivity and longer periods smooth the reading with more lag.
  6. MACD applies to any timeframe, shorter timeframes produce more frequent but noisier signals, longer timeframes produce fewer but generally more significant ones.

Frequently asked follow-up questions

What do the three components of MACD actually represent?

The MACD line is the difference between a 12-period and 26-period exponential moving average. The signal line is a 9-period exponential moving average of the MACD line itself. The histogram shows the difference between the MACD line and the signal line, visually representing how far apart the two lines currently are.

What does a MACD crossover actually signal?

When the MACD line crosses above the signal line, it's generally interpreted as a bullish signal, suggesting upward momentum may be building. When the MACD line crosses below the signal line, it's generally interpreted as a bearish signal, suggesting downward momentum may be building. Neither crossover guarantees a sustained move, particularly in choppy or range-bound conditions.

What is MACD divergence, and why do traders watch for it?

Divergence occurs when price makes a new high (or low) that MACD doesn't confirm with its own new high (or low), suggesting the underlying momentum behind the move is weakening even as price itself continues in the same direction. Many traders consider divergence a more meaningful signal than a simple crossover alone, since it reflects an actual change in underlying momentum.

How does MACD compare to RSI as a momentum indicator?

Both measure momentum but through different mathematical approaches, MACD tracks the relationship between two moving averages and isn't bounded to a fixed numerical range, while RSI is bounded between 0-100 and focuses specifically on the ratio of average up-moves to average down-moves. Many traders use both together as a cross-check, since they can occasionally give different readings on the same price action.

Can the standard 12, 26, 9 MACD settings be adjusted?

Yes, though 12, 26, 9 has become the widely used conventional default. Shorter periods make MACD more sensitive and responsive, generating more frequent signals but also more noise, while longer periods smooth the reading out, producing fewer, more significant signals with correspondingly more lag before reflecting a genuine shift.

Does MACD work equally well on all timeframes?

The underlying calculation applies to any timeframe, from 1-minute charts to weekly charts, though the reliability and appropriate interpretation of signals can vary. Shorter timeframes generally produce more frequent but noisier signals, while longer timeframes produce fewer but generally more significant ones, worth aligning your chosen timeframe with your specific trading style and holding period.

๐Ÿ“š Sources & further reading

This article draws on established technical analysis education resources. Practice applying MACD on a demo account before using real capital.

Explore more South African trading guides on TradeAnswers.

๐Ÿ’ฐ
Start on demo, cost zero

Build your track record before risking retirement savings

Open a free FSCA-regulated demo account and establish a verifiable track record first.

Open a free demo account
  • FSCA RegulatedTrade with confidence
  • Practice Risk FreeReal market conditions
  • Beginner FriendlyPerfect for learning

79% of retail CFD accounts lose money. Demo accounts do not guarantee future profits.