MadStocks Learn Lesson 9
Level 2 — Lesson 9 ⏱ 6 min read

When momentum
shifts

Price can keep making new highs while the engine behind it quietly stalls. MACD makes that stall visible before price confirms it — giving you time to tighten stops, reduce size, or get out before the crowd does.

⚡ 30-second answer

MACD (Moving Average Convergence Divergence) measures the gap between a fast EMA (12) and a slow EMA (26). When this gap is growing, momentum is accelerating — stay long. When it is shrinking, momentum is fading — tighten your leash. The histogram visualizes this gap as bars above or below a zero line. Shrinking green bars on a new price high is one of the clearest early warnings in technical analysis.

The three components of MACD

MACD is built from three elements. Understanding each one separately makes the indicator readable at a glance:

Component What it is Default setting What it tells you
MACD line EMA 12 minus EMA 26 12, 26 The raw momentum reading. Above zero = fast EMA above slow EMA = upward momentum. Below zero = downward momentum.
Signal line 9-period EMA of the MACD line 9 A smoothed version of MACD. Used to generate crossover signals when MACD crosses above or below it.
Histogram MACD line minus Signal line The gap between MACD and Signal. Growing bars = momentum building. Shrinking bars = momentum fading. This is the most forward-looking component.
MACD histogram — what growing vs shrinking bars look like
Momentum building ↑
Each bar taller than the last — gap expanding
Momentum fading ↓
Bars shrinking toward zero — gap closing

The three MACD signals that matter

1

MACD crossover

MACD line crosses above the signal line = bullish. Below = bearish. Most traders know this one — which also means it generates the most false signals in choppy markets. Use only when MACD is already above zero (confirming the underlying trend).

2

Histogram divergence

Price makes a new high but histogram bars are shorter than the previous peak. Momentum is weakening even as price extends. This is the highest-quality signal MACD produces — it is forward-looking, not lagging.

3

Zero-line cross & hold

MACD crossing from below zero to above zero means the 12-EMA has reclaimed the 26-EMA — a trend regime change. In strong trends, MACD stays above zero for months. A dip below zero and recovery is a re-test of the trend that either holds or doesn’t.

Signal hierarchy: Histogram divergence > Zero-line cross > Signal line crossover. Most beginner tutorials focus only on the crossover because it is easy to spot. Experienced traders focus on the histogram because it gives earlier warnings. Lead with histogram analysis; use the crossover as a trigger only after the histogram has already told you the direction.

MACD divergence in detail

Like RSI, MACD produces its clearest signals when it disagrees with price:

📈 Bullish MACD divergence

Price makes a lower low but the MACD histogram makes a higher low (shorter negative bars on the second trough). Selling momentum is decelerating. Institutions may be accumulating into weakness.

Best setup: combine with price holding a key support level (EMA 50 or prior swing low) and volume drying up on the second low. The trifecta is a high-probability reversal entry.

📉 Bearish MACD divergence

Price makes a higher high but the MACD histogram shows shorter positive bars on the second peak. The rally lacks the same buying power. Smart money is quietly distributing into the strength.

Most reliable when it occurs after a long trending move and MACD is well above zero. The more extended the trend, the more weight the divergence carries. Tighten stops to the prior swing low.

Above zero vs below zero: the trend context

Where MACD sits relative to the zero line is just as important as the crossover itself. Signals have very different weight depending on which side of zero they happen on:

MACD position What it means Signal quality
Above zero, bullish crossover Fast EMA already above slow EMA; MACD line now also crossing above signal High — both trend and momentum are aligned bullish
Below zero, bullish crossover Still in a downtrend; MACD crossed up but from below the zero line Low — likely a dead-cat bounce. Wait for zero-line reclaim
Above zero, bearish crossover Still in overall uptrend but momentum is pulling back Medium — pullback signal, not necessarily a trend reversal
Below zero, bearish crossover Trend already down; MACD confirming continued bearish momentum High — adds to short/exit thesis

How MACD connects to the moving averages you already know

MACD is not a standalone tool — it is literally derived from the EMAs covered in Lesson 7. The MACD line is EMA 12 minus EMA 26. When you look at a price chart with EMA 12 and EMA 26 plotted, MACD is just the gap between them visualized as an oscillator.

This means MACD and EMA alignment tell the same story from different angles:

Avoid double-counting: Because MACD is derived from EMAs, do not treat a bullish EMA crossover AND a MACD crossover as two separate signals. They are the same underlying data. Stack MACD with RSI or volume instead to get genuinely independent confirmation.

Practical rules for using MACD on MadStocks

See MACD on MadStocks charts

Open any MadStocks stock chart to see the MACD histogram and crossover signals below the price panel.

MadStocks chart showing MACD histogram with green bars above zero and a bullish crossover signal
📊

See live MACD on any stock at MadStocks MACD Analyzer

MACD on MadStocks. Green bars above zero = positive momentum building. Red bars below zero = negative momentum. Shrinking bars on either side of zero signal a momentum shift before price fully confirms. Watch histogram direction first, then the crossover as a trigger.

What the MadStocks MACD Analyzer scores

When you run the MACD Analyzer on any ticker, it checks five conditions and returns a score from 0 to 5:

#SignalPass conditionWhy it matters
1 Bullish Momentum MACD line > 0 The fast EMA is above the slow EMA — the underlying trend is bullish.
2 Bullish Position MACD line > Signal line Momentum is running ahead of its own average — short-term strength confirmed.
3 Bullish Crossover MACD crossed above Signal on the most recent bar A fresh crossover is the most actionable trigger — direction has just shifted.
4 Positive Histogram Histogram > 0 The gap between MACD and Signal is expanding upward — bullish pressure is building.
5 Accelerating Momentum Histogram is increasing (today > yesterday) Momentum is not just positive but growing — the move has fuel left.
Score interpretation: 5/5 = strong bullish momentum setup  ·  3–4/5 = proceed with caution  ·  0–2/5 = avoid longs

Analyze MACD on Any Stock

MadStocks calculates MACD for any ticker — live signals, histogram trend, crossover status, and a plain-English verdict so you know what the momentum says before you trade.

Open MACD Analyzer → RSI: Strength & Exhaustion →

Next in the path

📊
Lesson 10: The proof behind the price
OBV & Volume — price can lie, but heavy volume on a breakout means real conviction. On-Balance Volume makes institutional footprints visible.