MACD: the gap between a fast and a slow average

MACD measures the distance between a fast and a slow moving average. When the gap widens, momentum is building; when it narrows, the move is slowing, often before price shows it.

By imbalance ResearchUpdated 18 Nov 20267 min read

Engraved ribbons of water running side by side and crossing, the crossing lit saffron
BTC · MACD below its signal line

MACD, moving average convergence divergence, is the gap between two exponential moving averages of price: the 12-period minus the 26-period. When the fast average pulls away from the slow one, momentum is building; when the two close in, the move is slowing.

The gap on its own is the MACD line. A 9-period average of that line is drawn beside it as the signal line, and the difference between the two is drawn as a histogram. Three numbers, all from closing prices.

Live

MACD under the last 96 hours

61,098096 hours, 1h candles
MACD (EMA 12 − EMA 26)Signal (EMA 9 of MACD)Bars: histogram
BTC hourly MACD is 258.04, below its signal line at 302.92: short-term momentum is falling behind its own recent average. Source: Delta Exchange India, read by imbalance at 06:18 pm IST. A reading, not advice.

How it is calculated

MACD = EMA(12) − EMA(26) · signal = EMA(9) of MACD · histogram = MACD − signal

Each EMA weights recent closes more than old ones. imbalance seeds each one with the simple average of its first period, the same convention TradingView uses, so the numbers match what most charting sites show. The figure computes it over 150 hourly candles and draws the last 96, so the line has settled before the first candle on screen.

Three ways traders read it

Signal crossoversMACD crossing above its signal line: momentum turning up. Crossing below: turning down. Frequent, and in a sideways market most reverse within a few candles.
The zero lineMACD above zero means the fast average is above the slow one, a rough sign of an uptrend; below zero, a downtrend.
HistogramBars shrinking toward zero show momentum fading while the trend still points the same way, often before the crossover happens.
DivergencePrice makes a new high while MACD makes a lower high, or the mirror at lows. The move is continuing on less force.

MACD is built from moving averages, so it lags. A crossover confirms a change that has already started, and in a fast reversal it arrives late. Its strength is in trending markets, where it keeps a trader with the move; in a range it whipsaws.

MACD values are in price units, so they aren’t comparable between markets or across very different price levels. Read its shape and its crossings, and compare a market’s MACD only with its own past.

The moving average guide covers the averages MACD is built from, and the RSI guide covers the other common momentum gauge.

Questions people ask

What is MACD?

Moving Average Convergence Divergence: the 12-period EMA minus the 26-period EMA of price, with a 9-period EMA of that difference as the signal line and the gap between the two drawn as a histogram.

What does a MACD crossover mean?

When the MACD line crosses above the signal line, short-term momentum is rising faster than its own average; crossing below means it is fading. Crossovers are frequent and many reverse quickly.

What is MACD divergence?

Price makes a new high while MACD makes a lower high, or price a new low while MACD a higher low. It shows momentum fading under the move, which sometimes comes before a turn.

What are the best MACD settings?

12, 26 and 9 are the standard and what most traders watch. Faster settings react sooner with more false signals; slower ones lag more with fewer.

This guide explains how a measure is built and how traders read it. It is education, not investment advice. Live readings are estimates from Delta Exchange India market data at the time shown; markets can and do move against any reading.

Keep reading

Confirm it’s you

To , enter the code we sent and your password.