Free guide · updated 2026-09

MACD Explained: Line, Signal, Histogram and Divergence

MACD is two moving averages wearing a disguise. Once you see that, everything it does - crossovers, the histogram, divergence - is just a restatement of how momentum is changing.

Short answer

MACD is the 12-period EMA minus the 26-period EMA, with a 9-period EMA of that as the signal line and the gap between them drawn as a histogram. Above the signal line reads as strengthening momentum, below as weakening. Divergence means the latest push had less force, not that price will reverse: strong trends diverge repeatedly and keep going.

8 min read · The Algo Vision
MACD Explained
Practise on real charts →All guides & tools
See this on a live chart

Open EURUSD on the H1 in our charting desk and look for it on real, current price - the same thing this page describes, on a chart that is moving. It is a free preview of the real desk, and a free guest account is required to open it: put in your email, we send a login code, and you are on a live chart in under a minute. The preview runs real market data with one indicator at a time - nothing is saved and no broker is connected. A preview of the product, not advice.

Open the live chart →

The three parts

12, 26 and 9 are the defaults from Gerald Appel's original work. Faster settings produce more signals; the trade-off is identical to any other moving average choice.

What people read from it

higher price highstrong legweaker pushmomentum rolls overMomentum fades while price still makes highs: divergence
Chart Bound, the free trading game
Practise this in Chart Bound, free

Indicators describe price. Chart Bound teaches you to read the price itself, free, so the indicator becomes a second opinion instead of the whole plan.

Play free, no signup →

When it fails

A sensible way to use it

Treat MACD as a momentum description that supports or contradicts what the chart already shows: take the setup at a level, check whether momentum agrees, and let the risk rules do the rest. The signal is the context, not the trade.

On our own charting desk: it does not ship a MACD indicator. The desk carries its own set - RSI Primed, Value Fade, Session Levels, Power POI, ICT AutoFib and others - and its AlgoScript builder will plot a MACD line from one expression, ema(close,12) - ema(close,26), if you want it. The live-chart link on this page opens a chart, not a MACD.

Frequently asked questions

What does MACD stand for?

Moving Average Convergence Divergence. It measures the distance between a 12-period and a 26-period EMA, with a 9-period EMA of that as the signal line.

What are the best MACD settings?

12, 26 and 9 are the defaults and are what most traders see. Faster settings give earlier and noisier signals; there is no setting that removes the lag.

Is MACD divergence reliable?

It is a warning that momentum has weakened, not a reversal signal. Trends can diverge for a long time before turning, and many divergences never resolve into a reversal.

Is MACD better than RSI?

They measure different things - MACD measures the gap between averages, RSI measures the speed of recent gains against losses. Neither replaces a plan with a defined stop and size.

Keep learning

Best Forex Indicators ExplainedMoving Average Crossover StrategyBollinger Bands ExplainedPrice Action TradingSupport & resistance
Chart Bound, the free trading game
Practise this in Chart Bound, free

Indicators describe price. Chart Bound teaches you to read the price itself, free, so the indicator becomes a second opinion instead of the whole plan.

Play free, no signup →