StructureX

Home › Guides › Indicators

MACD explained: what the 2 lines and the bars really show

MACD looks busy: two lines, a zero line and a row of bars. Underneath, it's one simple idea. Once you see it, you'll know exactly what it can and can't tell you.

Beginner guide · 7-minute read · Updated 2026-10-21

The one idea behind MACD

MACD stands for Moving Average Convergence Divergence. Gerald Appel created it in the late 1970s.

The name is long. The idea is short.

MACD measures the gap between a fast average and a slow average of price.

Everything else on the MACD panel is built from that gap. If moving averages are new to you, start with moving averages explained.

The 3 parts, one at a time

The default settings are 12, 26, 9. Each number has one job.

PartHow it's madeWhat it shows
MACD line12-period EMA minus 26-period EMAThe gap between fast and slow
Signal line9-period EMA of the MACD lineA smoothed, slower copy of that gap
Histogram (the bars)MACD line minus signal lineWhether the gap is growing or shrinking

(EMA means exponential moving average: an average where recent candles count more.)

A simple worked example

Say on today's candle:

MACD line = 105 − 102 = 3. The fast average is 3 points above the slow one.

Now say the signal line (the 9-period average of recent MACD values) is 2.5.

Histogram = 3 − 2.5 = 0.5. A small bar above zero.

If tomorrow the MACD line rises to 3.4 and the signal to 2.7, the bar grows to 0.7. The gap is widening. If instead the MACD line slips to 2.6 and the signal sits at 2.6, the bar shrinks to 0. That's a "cross".

Notice the MACD number is in price points, not a 0–100 scale like RSI. So you can't compare MACD values between a $20 stock and a $500 one.

How traders use MACD

What MACD can't do

Here's the honest part.

A MACD cross tells you what the averages already did. It's a summary of the move, not a forecast of the next one.

Where it fits with our method

We start with the chart's turning points: the last places price turned around.

Higher highs and higher lows mean an uptrend. Lower highs and lower lows mean a downtrend. You can read that straight off the candles, with nothing added. See higher highs and higher lows.

MACD often "confirms" a trend you could already see. That's fine as a second opinion:

When the chart and MACD disagree, the chart wins. A candle body closing past the last turning point is the real change. (A wick poking through doesn't count.)

One clean read beats six indicators.

Common mistakes

Try it today on TradingView

About 15 minutes.

  1. Open a daily chart. Add "MACD" from Indicators. Keep 12, 26, 9.
  2. Mark the last 3 turning points by hand first. Uptrend, downtrend or neither?
  3. Now look at the MACD panel. Does it agree with your read?
  4. Find the last 5 signal-line crosses. For each one, note how far price had already moved before the cross.
  5. Use TradingView bar replay on a sideways stretch and count the crosses as they appear, without peeking ahead.

Step 4 is the eye-opener. Seeing how late a cross arrives is the best way to learn what MACD is really for.

Questions

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

The MACD line is the 12-period EMA minus the 26-period EMA. The signal line is a 9-period EMA of that MACD line. The bars show the gap between the two lines.

What does it mean when MACD crosses above the signal line?

The gap between the fast and slow averages has started growing faster than its own recent average. Many read it as upward momentum. It often comes after the move has started, and it fails a lot in sideways markets.

What does the MACD histogram show?

Each bar is the MACD line minus the signal line. Taller bars mean the gap is growing; shrinking bars mean the push is slowing.

Is MACD better than RSI?

They measure similar things in different ways. MACD tracks the gap between two averages; RSI compares recent up moves to down moves on a 0–100 scale. Both lag, and neither predicts.

What is the best MACD setting for day trading?

There's no proven best. Many day traders keep 12, 26, 9 because it's the default everyone sees. Changing it to fit past charts usually doesn't carry over to new ones.

Want the next step? We'll walk you through it.

Four free lessons by email, one every few days — each with a 10-minute exercise on a real chart.

Send Me the Free Lessons 4 short emails · No spam · Unsubscribe anytime

Or see the whole method, step by step:

See What’s Inside the Course Try everything free first. Decide when you're ready. · Open the free chart tool (works in the TradingView phone app)

One chart idea a day, in plain English. Follow along:

Follow on XFollow on TradingView