Skip to content

MACD

The MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator built from the difference between two moving averages of price. Signals come from the MACD line crossing its signal line: a cross upward is bullish, a cross downward bearish. It is one of the most widely used technical indicators.

ReferenceSource: MacroFinance

What is MACD?

The MACD line is typically the 12-period EMA minus the 26-period EMA; the signal line is a 9-period EMA of the MACD line. The histogram plots the gap between them.

Crossovers flag shifts in momentum, while divergences between the MACD and price can warn that a trend is weakening. Like any single indicator, it works best combined with trend and volatility context.

Key takeaways

  • MACD = 12-period EMA minus 26-period EMA, with a 9-period signal line.
  • Signal-line crossovers generate buy and sell signals.
  • Divergence from price can warn of a weakening trend.

Frequently asked questions

What do the MACD numbers 12, 26, 9 mean?

They are the periods of the three moving averages: the 12 and 26 build the MACD line, and the 9 builds the signal line used for crossovers.

Go from definition to data

Create a free account for alerts, a watchlist and the full data behind every term on MacroFinance.

Alerts

Get notified when a policy rate changes, a yield moves or a curve inverts.

Create free account

Watchlist

Pin the countries and central banks you follow and see them first.

Start a watchlist

Free data and embeds

CSV downloads and embeds need no account. Copy the code from the embed section.

Embed on your site
Source: MacroFinance macro database (central bank, national statistics and market data). Free to use with attribution. Informational only, not investment advice.