Intermediate10 min read·September 23, 2026

MACD, Drawn Out

MACD has an intimidating name and a surprisingly plain calculation. If you've read the Moving Averages lesson you already know most of it: MACD is a fast moving average minus a slow one. That's the whole thing.

The charts use the same window as the earlier lessons: 200 four-hour BTC/USDT candles from Binance, 3 August to 5 September 2026, computed with the same math the Simulator runs in a backtest.

1. MACD = fast EMA − slow EMA

The MACD line is the EMA 12 minus the EMA 26. When the two averages spread apart it grows; when they converge it approaches zero; when the fast one drops below the slow one it goes negative.

So the lower panel isn't new information — it's a gap that already exists in the price panel, pulled out and plotted on its own. On the price chart you'd have to eyeball that distance; plotted separately, its changes are much easier to see.

MACD is a gap between two averages

The bar in the price panel is the distance between the EMA 12 and the EMA 26. The panel below plots that same distance.

  • Price (close)
  • EMA 12
  • EMA 26
  • MACD line
EMA 12EMA 2608/0309/05

09/05: EMA 12 minus EMA 26 = 437

BTC/USDT · 4h · Binance · 2026-08-03 → 2026-09-05

The thick vertical bar in the price panel is the distance between the two EMAs. The bar below it is that same distance, plotted.

2. The signal line and the histogram

Two things usually come along with it. The signal line is the MACD line smoothed again by a 9-period EMA, and the histogram is the MACD line minus the signal line.

Which makes the whole thing an average of an average, subtracted. Three layers deep, but there's still only one raw ingredient: the closing price.

Three parts, one subtraction

The signal line is an EMA 9 of the MACD line. The histogram is simply one minus the other.

  • MACD line
  • Signal line
  • Histogram
08/0309/05

MACD 437 − signal 493 = histogram -56

BTC/USDT · 4h · Binance · 2026-08-03 → 2026-09-05

The dark vertical line is the gap between MACD and signal — and that gap is exactly the height of the histogram bar.

3. Where 12 / 26 / 9 comes from

Gerald Appel proposed those defaults in the 1970s and they became the starting values in essentially every charting tool since. The market doesn't do anything in particular on a 26-bar cycle.

All three periods, live

The usual 12 / 26 / 9 is a default, not a discovery.

  • MACD line
  • Signal line
08/03

At 12 / 26 / 9: 6 signal-line crossings in this window.

BTC/USDT · 4h · Binance · 2026-08-03 → 2026-09-05

Move all three. The line underneath reports how many signal crossings that setting actually produces in this window.

4. There are two different "crossings"

When people say a MACD crossing they might mean either of two different events: the MACD line crossing its signal line, or the MACD line crossing zero.

They mean different things. A signal crossing says the gap's rate of change has turned. A zero crossing says the two moving averages themselves have crossed — a slower, rarer event.

Two different things called a MACD signal

The MACD line crossing its own signal line — the faster, more frequent event.

  • MACD line
  • Signal line
  • Crosses up
  • Crosses down
08/03

6 Signal-line crossings in this window.

BTC/USDT · 4h · Binance · 2026-08-03 → 2026-09-05

Toggle between them. On identical data they differ in both how often they fire and where.

The zero line crossed upward on 17 August here — the same bar as the golden cross in the Moving Averages lesson, and one bar after the Bollinger squeeze broke. That isn't a coincidence: a MACD zero crossing is, by definition, the same event as the two moving averages crossing.

5. MACD has no overbought level

RSI is trapped between 0 and 100, which is what makes a line at 70 possible at all. MACD isn't. It's a difference between two prices, so its magnitude simply follows the price level.

There is no overbought level

MACD is a difference between two prices, so its size follows the price level. The same reading means different things in different places.

  • Price (close)
  • MACD line
later half08/03

Largest MACD reading in the first half: 357, around $64,046. In the second half: 3474, around $78,099 — about 9.7× bigger, from the same indicator on the same settings.

BTC/USDT · 4h · Binance · 2026-08-03 → 2026-09-05

Same indicator, same settings — and far larger readings in the higher-priced half of the window.

The largest MACD reading in the first half of this window was 357. In the second half it was 3474 — roughly 9.7 times bigger.

So a fixed rule like "MACD above 200 means overheated" can't hold. The same 200 is a large reading at a low price and a trivial one at a high price. Across different assets it's less comparable still.

6. Swapping fast and slow

A less well-known property: set the fast period longer than the slow one and MACD doesn't break — it inverts exactly. You've reversed the order of a subtraction, so every value keeps its magnitude and flips its sign.

Swapping fast and slow inverts it

The conventional setup: fast 12, slow 26.

  • MACD line
  • Signal line
  • Histogram
08/03

This is an exact mirror, not an approximation — subtracting the other way round negates every value, so above zero becomes below and each crossing reverses. It's a legitimate configuration rather than a mistake: it turns MACD from something that confirms a move into something that flags one already stretched.

BTC/USDT · 4h · Binance · 2026-08-03 → 2026-09-05

Toggle 12/26 against 26/12. The shape is a precise mirror through the zero line.

That can be a choice rather than a mistake. Where a conventional MACD confirms that a move has started, an inverted one flags that a move has already stretched — useful as a gate that filters out late entries rather than as something that confirms them.

7. Common misreadings

  • MACD isn't an independent indicator — it's two moving averages subtracted, and it inherits every bit of their lag.
  • Absolute values carry no fixed meaning. The same number means different things at different price levels, and almost nothing across different assets.
  • Signal crossings and zero crossings are different events. Not distinguishing them means calling two different strategies by one name.
  • The histogram adds no information — it makes the gap between the two lines visible.
  • Fast longer than slow isn't broken; it's the same tool with every sign reversed.

8. Seeing it run in the Simulator

MACD appears in the Simulator in two roles: a template that uses it to decide entries and exits directly, and an optional filter that uses it to gate another strategy's entries.

To compare period combinations rather than guess, the Sweep tool runs a real backtest across every combination in the ranges you pick — including ones where the fast period is longer than the slow one.

In the Simulator
  • MACD Trend — decides entries and exits from the MACD line crossing its signal line.
  • MACD filter — an optional gate on another strategy's entries, with its own fast, slow and signal periods.