Technical IndicatorsUpdated Jun 1, 2026

MACD (Moving Average Convergence Divergence)

Twelve-day EMA minus 26-day EMA, with a 9-day EMA signal line โ€” built to highlight changes in trend direction.

Formula

MACD = EMA(12) โˆ’ EMA(26); Signal = EMA(9) of MACD; Histogram = MACD โˆ’ Signal

Example

Reading a MACD chart

Setup
MACD line crosses from below the signal line to above it.
Calculation
At the crossing, the histogram (MACD โˆ’ Signal) flips from negative to positive.
Takeaway
Textbooks describe this as a bullish crossover. Whether it predicts anything is a separate, much-debated question among traders.

What it is

MACD is built from three things:

  • MACD line โ€” 12-day EMA minus 26-day EMA. Positive when the short-term EMA is above the long-term one; negative when below.
  • Signal line โ€” 9-day EMA of the MACD line.
  • Histogram โ€” MACD line minus signal line.

What people watch

  • Crossovers โ€” when the MACD line crosses above the signal line, or vice versa. These crossings are often labeled "bullish" or "bearish" in textbook language.
  • Distance from zero โ€” how far the MACD line sits above or below zero tells you how separated the two underlying EMAs are.
  • Divergence โ€” when the price makes a new high but the MACD doesn't (or vice versa). Some chart-readers treat this as a momentum warning.

What it isn't

MACD is derived entirely from past price. It says nothing about fundamentals, earnings, or news. Like every chart indicator, it describes what already happened.

Related