Skip to content
Learn
Sign up

Technical AnalysisTechnical Indicators

MACD: Momentum and Trend

11 min read

Two Indicators in One

The MACD (Moving Average Convergence Divergence), developed by Gerald Appel in the late 1970s, combines trend-following and momentum into a single indicator. It's one of the most versatile tools available, used by traders on timeframes from M5 to weekly charts. Unlike RSI which oscillates between fixed bounds, MACD is unbounded and reveals both the direction and the strength of a trend.

MACD earned its name from what it measures: the convergence and divergence of two exponential moving averages. When the fast EMA is pulling away from the slow EMA (diverging), trend momentum is increasing. When the fast EMA is approaching the slow EMA (converging), momentum is fading. This simple concept, visualized through the MACD line, signal line, and histogram, provides a complete momentum picture.

MACD Line

Term

The difference between the 12-period EMA and the 26-period EMA. When the 12 EMA is above the 26 EMA, MACD is positive (bullish momentum). When below, MACD is negative (bearish momentum). The further the MACD line is from zero, the stronger the momentum.

Signal Line

Term

A 9-period EMA of the MACD line. When the MACD line crosses above the signal line, it generates a bullish signal. When it crosses below, a bearish signal. The signal line smooths out MACD fluctuations and creates tradeable crossover signals.

MACD Histogram

Term

The difference between the MACD line and the signal line, plotted as bars. Thomas Aspray added it to MACD in 1986. Growing bars show increasing momentum; shrinking bars show weakening momentum. The histogram often changes direction before the MACD lines cross — making it a leading sub-signal within a lagging indicator.

Zero Line

Term

The horizontal line at zero on the MACD chart. When MACD is above zero, the 12 EMA is above the 26 EMA (bullish trend). When below zero, the 12 EMA is below the 26 EMA (bearish trend). Zero line crosses represent the same signal as a moving average crossover but are displayed more clearly on the MACD chart.


MACD Trading Signals

Reading MACD Signals (Four Common Readings)

  1. 1

    1. MACD divergence (a warning, not a trigger)

    Like RSI, MACD divergence (price vs the MACD line or histogram making different highs/lows) is a leading warning sign. Bearish divergence: higher price highs with lower MACD highs. Bullish: lower price lows with higher MACD lows. Divergence on the daily chart is one of the most closely watched reversal warnings — but it can persist while the trend continues.

  2. 2

    2. Zero line cross (slow trend confirmation)

    MACD crossing from negative to positive territory (zero line cross) confirms a bullish trend shift. From positive to negative = bearish trend shift. Slower than signal-line crossovers, with fewer whipsaws. This is equivalent to a moving average crossover.

  3. 3

    3. Signal line crossover (the most frequent signal)

    MACD line crossing above the signal line = bullish signal. MACD line crossing below = bearish signal. Often considered more meaningful when a bullish crossover occurs below the zero line, or a bearish one above it.

  4. 4

    4. Histogram momentum shift (early warning)

    Watch the histogram bars. Consecutively growing bars mean momentum is building. Shrinking bars mean momentum is waning — often the first warning before a crossover. The histogram turning from growing to shrinking is the earliest MACD signal.

Note

Standard MACD settings

The default MACD settings (12, 26, 9) date from daily charts and six-day trading weeks — roughly two weeks, a month and a week and a half. Some traders use faster settings such as (8, 21, 5) on H4 charts, or slower ones such as (21, 55, 9) for smoother signals on daily charts. Linda Raschke's well-known '3/10 oscillator' (3, 10, 16) is a faster variant built from simple averages. Experiment — but stick with one setting to build intuition. Changing settings constantly prevents you from developing a feel for the indicator.

MACD SettingsSpeedBest TimeframeUse Case
3, 10, 16Very FastM5, M15Scalping momentum shifts
8, 21, 5FastH1, H4Active swing trading
12, 26, 9 (default)StandardH4, DailyGeneral-purpose trend and momentum
21, 55, 9SlowDaily, WeeklyPosition trading, major trend shifts

A

MACD Strengths

  • Captures both trend and momentum in one indicator
  • Divergences on daily charts are widely watched
  • Can be applied to any timeframe or asset class
  • Histogram gives early momentum warnings
  • Zero line separates bull/bear regimes clearly
  • Unbounded — extreme readings show extreme momentum

B

MACD Weaknesses

  • Lagging — based on moving averages of past prices
  • Frequent false crossovers in choppy, sideways markets
  • Less useful in sideways, ranging conditions
  • Default settings not optimal for all timeframes
  • Can give late entry signals after major moves begin
  • Requires experience to interpret histogram correctly
Example

Illustrative MACD divergence: AUD/USD reversal

Illustrative example built on a real move: AUD/USD peaked near 0.7158 on 2 February 2023. Suppose the daily MACD histogram had peaked noticeably lower than at the previous swing high — a bearish divergence warning that buying momentum was fading even as price pushed higher. The move that followed is real: AUD/USD fell more than 400 pips in the next three weeks, reaching about 0.6700 by late February. Source: daily AUD/USD market data.

SHORT USD/CADexample signal

Entry

1.3580

Stop

1.3630

Target

1.3430

R:R 1:3.0

MACD bearish crossover below the zero line on the USD/CAD daily chart, combined with a bearish engulfing pattern at the 1.3600 resistance zone. The MACD line crossed below the signal line while both were in negative territory (below zero) — a crossover in the direction of an already-bearish trend, which many traders read as trend continuation rather than a fresh reversal. Entry below the engulfing candle at 1.3580, stop above resistance at 1.3630, target at the next support at 1.3430. R:R approximately 1:3.

Knowledge check

The MACD histogram has been showing consecutively smaller bars for the past 5 periods, even though price is still rising. What does this indicate?

Knowledge check

MACD crosses from negative territory (below zero) to positive territory (above zero). What does this zero-line cross indicate?