PRO — Level 2: Technical Analysis

MACD —
Momentum Master

The indicator that shows you momentum shifts before they happen. Signal line crossovers, histogram analysis, and zero-line strategies.

Formula Builder Interactive Chart Histogram Analysis Signal Game
Scroll to begin

First — Why This Matters

Two Runners Racing

Imagine two runners on a track — one fast (short-term momentum) and one slow (long-term trend). When the fast runner is ahead, momentum is bullish. When the fast runner falls behind, momentum is fading. MACD measures the gap between the two runners.

The moment the fast runner overtakes the slow one? That's a bullish crossover — momentum has shifted. The moment the fast runner falls behind? Bearish crossover. MACD catches these momentum shifts early, often before the price move is obvious on the chart.

Real scenario: You're watching XAUUSD (Gold). Price looks flat, nothing happening. But you notice the MACD histogram bars are growing — the fast runner is quietly pulling ahead. Two days later: Gold breaks out for a $40 move. MACD showed you the momentum building BEFORE the breakout happened.

01 — The Concept

What Is MACD?

MACD (Moving Average Convergence Divergence) measures the relationship between two moving averages. When they converge (come together), momentum is fading. When they diverge (spread apart), momentum is accelerating.

Created by Gerald Appel in the late 1970s, MACD is one of the most popular and versatile indicators. It works as both a trend follower AND a momentum oscillator.

📈

MACD Line (Blue)

This measures the gap between the fast runner and the slow runner. When the fast runner is ahead (MACD is positive), momentum is bullish — the market is accelerating upward. When behind (negative), momentum is bearish.

📉

Signal Line (Orange)

Think of this as the "average speed" of the MACD. When the MACD (actual speed) crosses above the signal (average speed), it's like a car accelerating past its average — momentum is picking up. That crossing moment is your buy or sell signal.

📊

Histogram (The Bars)

The bars show the gap between the MACD and signal lines — visually. Growing bars = the runners are pulling further apart (momentum increasing). Shrinking bars = they're getting closer (momentum fading). The bars often warn you BEFORE the actual crossover happens — your early alarm system.

02 — How It's Built

MACD Construction

Five steps from raw price to the complete MACD indicator. Each component builds on the last.

Step 1: Track the Fast Runner

Calculate a 12-period moving average. This follows price closely — it's the sprinter. When price makes a sudden move, this line reacts quickly. Think of it as the "what's happening RIGHT NOW" line.

EMA(12) of closing prices

03 — See It Live

Interactive MACD Chart

Toggle the 12/26 EMAs on the price chart to see what MACD is measuring. Enable crossover dots to spot buy/sell signals.

Blue line = MACD. Orange line = Signal. Green bars = bullish histogram. Red bars = bearish histogram. Green/red dots mark crossover signals.

04 — The Secret Weapon

Reading the Histogram

Most traders only watch the crossovers. But the histogram is the real edge — it shows momentum shifts before the lines cross.

📊

Growing Green Bars

The fast runner is pulling further ahead of the slow runner. Imagine a car speeding up on a motorway — the gap between it and the car behind keeps widening. The trend is STRONG. Stay in your trade and enjoy the ride.

📊

Shrinking Green Bars

The fast runner is still ahead but slowing down — the gap is closing. The car is still moving forward but taking its foot off the accelerator. The trend isn't over YET, but the early warning light is flashing. Time to tighten your seatbelt (stop loss).

📊

Growing Red Bars

Sellers are accelerating — like a car rolling downhill and gaining speed. The drop is getting stronger, not weaker. This is NOT the time to try to catch the bottom. Let it play out. If you're already short (betting on the drop), hold your position.

📊

Shrinking Red Bars

The downhill car is hitting the brakes. Sellers are running out of energy. The drop isn't over yet, but the worst may be behind. Start paying attention — a reversal could be building. This is where early buyers start getting interested.

05 — Read the MACD

Signal Identification Game

5 rounds. Identify the dominant MACD signal: bullish crossover, bearish crossover, zero-line cross, histogram growing, or histogram shrinking.

Round 1/5Score: 0

What is the MACD telling you?

🟢 Bullish Crossover
🔴 Bearish Crossover
📈 Zero Line Cross (Bull)
📊 Histogram Growing
📉 Histogram Shrinking

06 — Assessment

MACD Mastery Quiz

7 questions on construction, signals, histogram reading, and practical application.

Question 1 of 7

The MACD line is calculated as:

The 50 SMA minus the 200 SMA
The 12-period EMA minus the 26-period EMA
The RSI divided by 2
The closing price minus the opening price

Question 2 of 7

What is the signal line?

A 200-period SMA
A 9-period EMA of the MACD line itself
The zero line
A horizontal line at 50

Question 3 of 7

A bullish MACD crossover occurs when:

MACD crosses below the signal line
MACD crosses above the signal line
The histogram reaches zero
Price crosses above the 200 SMA

Question 4 of 7

The MACD histogram shows:

The closing price
The distance between MACD and its signal line
Volume
The RSI value

Question 5 of 7

When the MACD line crosses above the zero line, it means:

Nothing significant
The 12 EMA has crossed above the 26 EMA — short-term trend is bullish
Price hit a new high
You should sell immediately

Question 6 of 7

Which MACD signal often appears EARLIEST?

The crossover of MACD and signal lines
The zero line crossover
Histogram shrinking (momentum fade)
None — they all appear at the same time

Question 7 of 7

The default MACD settings (12, 26, 9) mean:

12 SMA, 26 SMA, 9 RSI
Fast EMA = 12, Slow EMA = 26, Signal EMA = 9
Buy at 12, sell at 26, stop at 9
12 candles, 26 pips, 9 trades

🔒

Score 66%+ to unlock your Pro Certificate

Up Next

Lesson 2.6 — Bollinger Bands & Volatility

Continue