MACD — Moving Average Convergence Divergence — looks complicated on a chart: two lines, a histogram, a zero line. Underneath, it's simple. It's the gap between two moving averages, and how fast that gap is changing.

The three parts of MACD

MACD, created by Gerald Appel, has three components. The standard settings are 12, 26, 9.

1. The MACD line

MACD line = 12-period EMA − 26-period EMA

An EMA (exponential moving average) is a moving average that weights recent prices more heavily. When the faster 12 EMA is above the slower 26 EMA, the MACD line is positive — short-term prices are running above the longer-term average. When it's below, MACD is negative.

2. The signal line

Signal line = 9-period EMA of the MACD line

A smoothed version of the MACD line. It lags slightly, which is the point: crossings between the two show changes in momentum.

3. The histogram

Histogram = MACD line − signal line

The bars show the distance between the two lines. Growing bars mean momentum is accelerating in that direction; shrinking bars mean it's fading — often before the lines actually cross.

Reading MACD signals

Signal-line crossover

  • Bullish: MACD line crosses above the signal line.
  • Bearish: MACD line crosses below the signal line.

This is the most common MACD signal and the one TradingSheets' indicator grid reflects when it flags MACD as buy or sell on each timeframe — check it live on EUR/USD, Apple or Bitcoin.

Crossovers are frequent, especially on short timeframes, and many are noise. They're more meaningful when they agree with the bigger trend.

Zero-line crossover

  • MACD crossing above zero means the 12 EMA has crossed above the 26 EMA — a moving-average crossover, essentially.
  • Crossing below zero is the reverse.

Zero-line crosses are slower than signal-line crosses but tend to reflect a more substantial shift.

Position relative to zero

A simple filter many traders use:

  • MACD above zero → favour long setups.
  • MACD below zero → favour short setups.

Then use signal-line crossovers in that direction only. This cuts out a lot of counter-trend whipsaws.

Histogram turns

When the histogram has been growing and then prints its first shorter bar, momentum has started to slow. That's an early warning that a crossover may be coming. Early, but also less reliable.

Divergence

As with RSI, divergence means price and indicator disagree:

  • Bearish: price makes a higher high, MACD (or the histogram) makes a lower high.
  • Bullish: price makes a lower low, MACD makes a higher low.

Treat divergence as a sign that the move is tiring, not as a reason to fade it immediately. Strong trends can show divergence several times before they actually turn.

Where MACD works and where it doesn't

Works best: in markets that trend. MACD is built from moving averages, and moving averages love trends.

Struggles: in sideways, choppy markets. The lines cross back and forth around zero and generate a stream of false signals. If price is stuck between clear support and resistance, MACD crossovers inside that range are mostly noise.

A quick way to check which regime you're in: the ADX trend-strength reading on each TradingSheets instrument page. A low ADX suggests a weak or no trend — be sceptical of MACD signals then.

MACD vs. RSI

They're complementary, not competing:

  • MACD tells you about trend direction and momentum shifts. It's unbounded — values depend on the instrument's price.
  • RSI tells you how stretched momentum is, on a fixed 0–100 scale.

A common combination: use MACD (above/below zero) for trend direction and RSI pullbacks for timing.

Adjusting settings

12/26/9 is the default and what most charts show. Some traders use faster settings (e.g. 5/35/5) for more responsive signals, or slower ones for longer-term charts. Faster = more signals, more noise. If you change settings, test them on a demo; don't just tweak until a past chart looks perfect.

An example MACD setup

An illustrative framework, not a recommendation:

  1. On the daily chart of the DAX 40, MACD is above zero → trend bias long.
  2. On the 4-hour chart, price pulls back and the MACD line dips below its signal line.
  3. Price reaches a support level or the 50–61.8% Fibonacci retracement of the last leg.
  4. MACD crosses back above the signal line → entry trigger.
  5. Stop below the pullback low; target the previous high or next resistance. Size from your risk per trade.

FAQ

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

12 and 26 are the periods of the fast and slow EMAs used for the MACD line; 9 is the period of the EMA used for the signal line.

Is MACD a leading indicator?

No. It's built from moving averages, so it lags price. The histogram can give earlier hints of a momentum change.

What timeframe is best for MACD?

It works on any timeframe. Higher timeframes give fewer, more meaningful signals; lower timeframes give more signals and more noise.

Why does MACD give so many false signals?

Usually because the market is ranging. MACD is a trend tool; in sideways markets, its lines whip back and forth.

Can I use MACD on crypto and forex?

Yes. The calculation is the same on any instrument with price data. Only the scale of the values changes.