MACD indicator

How the MACD indicator is built from two exponential moving averages, what the signal line and histogram show, and how crossovers are read.

The three parts

Part Formula
MACD line 12-day EMA - 26-day EMA
Signal line 9-day EMA of the MACD line
Histogram MACD line - signal line

When the short EMA is above the long one, MACD is positive: recent prices are rising faster than the longer trend.

Reading it

  • Bullish crossover: MACD crosses above the signal line.
  • Bearish crossover: MACD crosses below the signal line.
  • Zero line: MACD above zero means the short-term trend is up.
  • Histogram: growing bars mean momentum is strengthening; shrinking bars mean it is fading.
  • Divergence: price makes a new high but MACD does not. Momentum may be weakening.

Limits

MACD is built from lagging averages, so crossovers arrive after moves have begun. In sideways markets it produces many whipsaws. Like every price indicator, it says nothing about the company. See Fundamentals vs technicals.

See also

Pages that link here: Fundamentals vs technicals

Last updated September 30, 2026. Education only, not investment advice.