Technical Analysis

MACD

Last Updated
Quick Definition

MACD — Moving Average Convergence Divergence (MACD) is a momentum indicator showing the relationship between two exponential moving averages (12 and 26 period).

Track MACD with PipJournal

MACD is one of the most popular momentum indicators in forex trading—it uses the relationship between two exponential moving averages to signal shifts in momentum and trend direction.

How MACD Works

MACD has three components:

  1. MACD Line: 12-period EMA minus 26-period EMA
  2. Signal Line: 9-period EMA of the MACD line
  3. Histogram: MACD line minus signal line (visualized as bars)

When the 12-period EMA (fast) is above the 26-period EMA (slow), momentum is upward. When it’s below, momentum is downward.

Key MACD Signals

SignalMeaningInterpretation
MACD crosses above signalBullishUpward momentum building, consider long
MACD crosses below signalBearishDownward momentum building, consider short
Histogram turns positiveBullishMomentum accelerating upward
Histogram turns negativeBearishMomentum accelerating downward
Bullish divergencePotential reversalPrice lower, MACD higher = possible uptrend
Bearish divergencePotential reversalPrice higher, MACD lower = possible downtrend

Real-World EURUSD Example

EURUSD 1-hour chart:

  • Price: 1.0900, trending down
  • 12-period EMA: 1.0895
  • 26-period EMA: 1.0910
  • MACD line: -0.0015 (below signal line)

Signal: MACD is negative and below the signal line. Downward momentum confirmed. Shorting near 1.0900 with a stop loss above 1.0920 aligns with MACD momentum.

If MACD later crosses back above the signal line (histogram turns positive), momentum is reversing. Consider closing the short or placing a take-profit.

MACD Divergence

Divergence is when price and MACD move in opposite directions—a powerful reversal signal.

Bullish Divergence:

  • Price makes a lower low (1.0850 → 1.0820)
  • MACD makes a higher low (momentum strengthening)
  • Suggests reversal to upside

Bearish Divergence:

  • Price makes a higher high (1.1050 → 1.1075)
  • MACD makes a lower high (momentum weakening)
  • Suggests reversal to downside

Divergence alone isn’t a trade signal. Confirm with support/resistance levels or candlestick patterns.

Trending Market (MACD Works Well):

  • Strong uptrend, MACD stays well above zero and signal line
  • Clear, sustained momentum
  • Fewer false signals

Range-Bound Market (MACD Struggles):

  • Price oscillates between support and resistance
  • MACD whipsaws above and below signal line frequently
  • Many false entries and exits

In range-bound conditions, use RSI or Bollinger Bands instead.

MACD Crossover Strategy

Simple entry/exit rule:

  1. Long Entry: MACD crosses above signal line (histogram turns positive)
  2. Exit: MACD crosses below signal line (momentum reverses)
  3. Short Entry: MACD crosses below signal line (histogram turns negative)
  4. Exit: MACD crosses above signal line (momentum reverses)

Risks:

  • Whipsaws in choppy markets
  • Lagging indicator—momentum shows after price has already moved
  • Requires confirmation from price action and volume

Combining MACD with Other Indicators

MACD is more reliable when confirmed:

  • MACD + RSI: Both confirm momentum direction
  • MACD + Support/Resistance: Momentum + price level = stronger signal
  • MACD + Volume: Momentum + volume = conviction
  • MACD + Trend Lines: Momentum + trend confirmation = higher probability

Key Takeaway

MACD is a trend-following momentum indicator. Use it to identify shifts in momentum (MACD crossovers) and potential reversals (MACD divergence). It works best in trending markets and should always be confirmed by price action.

Track your MACD signals in your trading journal. Log which timeframes work best for your system, and whether divergence signals precede reversals or produce false entries.

PipJournal lets you annotate trades with technical indicators used, so you can backtest which MACD strategies are actually profitable for you.

Common Questions

What do the MACD lines represent?

MACD has three components: the MACD line (12-period minus 26-period EMA), the signal line (9-period EMA of MACD), and the histogram (difference between MACD and signal). Crossovers signal momentum shifts.

What's a MACD bullish signal?

MACD line crosses above the signal line = bullish momentum. The histogram turns positive. This suggests upward momentum is building, but not guaranteed price will rise.

What's a MACD bearish signal?

MACD line crosses below the signal line = bearish momentum. The histogram turns negative. This suggests downward momentum, but you still need confirmation from price action.

Can MACD divergence predict reversals?

Yes, sometimes. Bullish divergence (price makes lower low, MACD makes higher low) suggests momentum is strengthening—possible reversal up. But false signals are common; always confirm with [support/resistance](/learn/glossary/support).

Is MACD better for trend or range-bound markets?

MACD is a trend-following indicator. It works best in trending markets (strong uptrends/downtrends). In sideways, range-bound markets, it produces false signals. Use it alongside [RSI](/learn/glossary/rsi) for better confirmation.

Share this article

Track MACD Automatically

PipJournal calculates your macd and other key metrics from your trade data. Import trades and get instant insights.

SSL Secure
One-Time Payment
No credit card required
4.8/5 (47 reviews)