Home › Academy › Indicators & Strategy › MACD explained simply
📊 Indicators & Strategy · Core indicators

MACD explained simply

4 min read · Lesson 3 of 11

The MACD — Moving Average Convergence Divergence — combines trend and momentum in one indicator. Created by Gerald Appel in the late 1970s, with the histogram added later by Thomas Aspray, it remains one of the most widely used tools on any charting platform. This lesson explains its parts, the main signals and how to avoid its common traps.

The three components

ComponentCalculation (standard 12, 26, 9)Shows
MACD line12-period EMA − 26-period EMADistance between short and long-term trend
Signal line9-period EMA of the MACD lineSmoothed version, for crossovers
HistogramMACD line − signal lineMomentum of the MACD itself

Example: if gold's 12 EMA is $3,915 and 26 EMA is $3,900, the MACD line is +15 — the short-term average is above the long-term one, showing upward momentum.

Reading the MACD

  • Above zero: the 12 EMA is above the 26 EMA — bullish bias.
  • Below zero: bearish bias.
  • Rising MACD line: momentum increasing upward.
  • Histogram growing: momentum accelerating; shrinking: momentum slowing.

Main signals

1. Signal line crossovers. MACD crossing above the signal line = bullish; below = bearish. Crossovers above zero in an uptrend (or below zero in a downtrend) are generally more reliable than those against the main trend.

2. Zero-line crossovers. MACD crossing above zero means the 12 EMA crossed above the 26 EMA — a slower trend-change signal.

3. Divergence. Price makes a higher high while MACD (or the histogram) makes a lower high — weakening momentum. See divergence.

4. Histogram turns. The histogram shrinking toward zero shows momentum fading, often before the crossover happens. Some traders use the first histogram bar that turns back up after a pullback as an early entry signal.

A trend pullback system with MACD

  1. Daily chart: MACD above zero → long bias.
  2. 4-hour chart: wait for a pullback; MACD histogram falls below zero.
  3. Entry: when the histogram turns back up and price forms a bullish candle at support.
  4. Stop: below the pullback low.
  5. Exit: at a target level, or when the 4-hour MACD crosses below its signal line after a strong move.

Example: gold pulls back to $3,895 on the 4-hour chart while the daily MACD stays positive. The 4-hour histogram makes a higher bar and a bullish engulfing forms. Entry $3,903, stop $3,887 ($16), target $3,945 (2.6R). Size with the position size calculator.

Limitations

  • Lag: built from moving averages, MACD confirms moves after they start. Crossovers often happen after much of the move.
  • Whipsaws in ranges: repeated crossovers around zero produce false signals in sideways markets.
  • Not bounded: unlike RSI, MACD has no fixed 0–100 scale, so "overbought" levels differ by instrument and price. Compare MACD values only within the same chart.

Settings

The standard 12/26/9 works on most timeframes. Some traders use faster settings (for example 5/35/5) for more sensitive signals, or apply MACD to higher timeframes for trend confirmation. Avoid optimising settings to past data — see indicator mistakes.

MACD vs RSI

MACDRSI
TypeTrend + momentumMomentum oscillator
ScaleUnbounded0–100
Best forTrend confirmation, momentum shiftsPullbacks, extremes, divergence

Using both is common, but remember they partly measure the same thing. Learn more in RSI.

Frequently asked questions

Is MACD good for scalping? On very low timeframes it lags and whipsaws a lot. Most traders find it more useful on 1-hour charts and above.

Should I trade every MACD crossover? No. Filter crossovers by the higher-timeframe trend and by price location at support or resistance.

Can MACD be used on the daily chart for PSX stocks? Yes. MACD on daily and weekly stock charts is a common way to confirm medium-term trend changes, especially combined with volume.

Key takeaways

  • MACD = 12 EMA − 26 EMA; signal line = 9 EMA of MACD; histogram = difference.
  • Above zero = bullish bias; histogram shows momentum acceleration or fading.
  • Use crossovers with the trend, divergence and histogram turns.
  • MACD lags and whipsaws in ranges — combine with structure.

Reference: Gerald Appel, Technical Analysis: Power Tools for Active Investors (2005). Prices are illustrative. Education only.

Educational content by CROZAX. Not financial advice. Trading involves risk.