IntermediateTechnical Analysis·14 min read · 2 quizzes

MACD Explained

MACD combines trend direction and momentum into one indicator. When you understand all three of its components, you'll have a complete picture of whether a move has conviction behind it.


Module 1MACD Fundamentals

Why MACD exists

Gerald Appel developed MACD in the late 1970s to solve a real problem: moving averages tell you the trend direction but not the momentum. RSI tells you momentum but not the trend. MACD combines both — it uses the relationship between two moving averages to show trend direction, and the rate of change of that relationship to show momentum.

The result is an indicator that answers: is momentum building or fading, and in which direction? Used alongside support/resistance and candlestick patterns, MACD is one of the most powerful tools in a trader's toolkit.

The three components

MACD is not a single line — it's three interconnected elements. Understanding each one separately first makes the whole picture clear.

1
MACD Line
12-period EMA minus 26-period EMA

When positive: the short-term average is above the long-term average — trend is bullish. When negative: long-term average is heavier — trend is bearish. The further from zero, the stronger the trend.

2
Signal Line
9-period EMA of the MACD line

A smoothed version of the MACD line. When MACD crosses above the signal line, bullish momentum is increasing. When MACD crosses below, bearish momentum is taking over. This crossover is the primary trade signal.

3
Histogram
MACD line minus Signal line

Visual representation of the distance between MACD and its signal. Growing bars = accelerating momentum. Shrinking bars = decelerating momentum. Bars crossing zero = a signal line crossover just happened.

MACD: Three Components — Line, Signal, Histogram
$110$125$140Price0MACDBullish crossoverMACD lineSignal lineHistogram (+)

Green histogram bars = MACD above signal (bullish). Red bars = MACD below signal (bearish). Crossover = momentum shift.

💡The settings (12, 26, 9) explained
The default MACD settings are 12, 26, 9. The 12 and 26 refer to the two EMAs used to calculate the MACD line (roughly 2 weeks and 1 month of trading). The 9 is the period for the signal line. These defaults are used worldwide — sticking with them means you're looking at the same chart most other traders see.

🧠Quick Check — 4 questions
MACD Fundamentals1 / 4

The MACD line is calculated by subtracting the 26-period EMA from the 12-period EMA. When the MACD line is above zero, what does that mean?


Module 2Reading MACD Signals in Practice

The four MACD signals

Signal 1: Crossovers

The most basic MACD signal is when the MACD line crosses the signal line.

Bullish crossover

MACD line crosses above the signal line. Short-term momentum is accelerating. Strongest when this crossover happens below the zero line — it means momentum is recovering from a bearish phase.

Bearish crossover

MACD line crosses below the signal line. Short-term momentum is decelerating. Strongest when this happens above the zero line — momentum is rolling over from a bullish phase.

Signal 2: Zero-line crossovers

When the MACD line itself crosses zero, it means the 12 and 26 EMAs have crossed — a more significant, slower signal that confirms a change in the underlying trend direction. This is rarer than signal-line crossovers and carries more weight.

Zero-line crossovers are particularly useful for trend confirmation: if MACD crosses above zero, the overall trend has shifted to bullish. Below zero, bearish.

Signal 3: Histogram momentum

The histogram is MACD's early warning system. Before the MACD line crosses the signal line, the histogram bars will start shrinking. Watching for shrinking bars gives you advance notice of a potential crossover — earlier entries, tighter stops.

Histogram behaviourWhat it meansWhat to watch for next
Bars growing positiveBullish momentum acceleratingStrong uptrend — look for continuation entries on dips
Bars shrinking (still positive)Bullish momentum slowingPotential crossover coming — tighten stops on longs
Bars crossing zero (negative)Bearish crossover confirmedConsider exits or short setups if trend confirms
Bars growing negativeBearish momentum acceleratingStrong downtrend — avoid longs, look for short entries on bounces
Bars shrinking (still negative)Bearish momentum slowingPotential bullish crossover coming — watch for reversal signals

Signal 4: MACD divergence

Like RSI, MACD produces divergence signals that are often more reliable than the crossovers themselves. When price makes a new high but the MACD histogram makes a lower peak, momentum is not confirming the price move — a warning sign.

Combining MACD and RSI for highest confidence
When both MACD and RSI show divergence simultaneously — price makes a new high, MACD histogram makes a lower peak, and RSI makes a lower high — this is one of the most reliable reversal warnings in technical analysis. Two independent momentum indicators agreeing is significantly more powerful than either alone.

Real-world example: TSLA's 2023 recovery crossover

After TSLA's brutal 2022 selloff (which saw the stock drop over 70% from its peak), a high-quality MACD setup formed in early 2023 that marked the beginning of a powerful recovery rally. It illustrates exactly what the strongest type of MACD crossover looks like.

TSLA 2023 — MACD bullish crossover from below zero
Illustrative price action based on TSLA early 2023 recovery
$120$150$180TSLA Price0MACDBullish X-over(below zero ✓)+80% rallyMACDSignal

TSLA's 2023 recovery began with a bullish MACD crossover from well below zero — the strongest type of crossover signal.

1
MACD far below zero — deeply oversold momentum

After months of selling, MACD was deeply negative. Both the MACD line and signal line were well below zero, reflecting a sustained bearish trend. No reason to buy yet.

2
Histogram bars start shrinking (still negative)

The first signal: histogram bars, while still red and negative, started getting shorter. Selling momentum was decelerating. Experienced MACD readers spotted this before the crossover occurred.

3
Bullish signal crossover — from below zero

The MACD line crossed above the signal line while both were still below zero. This is the best type of bullish crossover — momentum turning positive from a deeply oversold state means there's significant room to run.

4
Zero-line crossover confirms the trend

Days later, the MACD line crossed above zero — confirming that the 12-period EMA had now surpassed the 26-period EMA. The trend had officially shifted to bullish. TSLA went on to rally approximately 80% in the months that followed.

🔑Why the zero line matters for crossover quality
A bullish MACD crossover when MACD = -4 (well below zero) signals that momentum is recovering from an extreme bearish state — the sellers are exhausted, buyers are stepping in, and the indicator has a long way to travel before becoming extended. A crossover when MACD = +6 (already well above zero) means the indicator is already stretched — it's a much weaker signal with less upside room. Always note where the crossover happens relative to zero.

Module 3When MACD Fails & Common Mistakes

When MACD works and when it doesn't

MACD is a trend-following momentum indicator. Understanding its limitations is just as important as knowing its signals — overusing it in the wrong conditions is the most common way traders lose money with this tool.

Works well ✓
  • • Trending markets with clear directional momentum
  • • Identifying when a trend is ending (divergence)
  • • Daily and higher timeframes (4H, weekly)
  • • Confirming signals from RSI or candlestick patterns
Fails here ✗
  • • Choppy, sideways range-bound markets
  • • Very short timeframes (1–5 min charts)
  • • News-driven spikes and gaps
  • • As a standalone signal without context

Common MACD mistakes

01
Acting on every crossover regardless of trend
Why it hurts: In a sideways market, MACD crossovers are constant noise — the histogram flips back and forth as price oscillates in a range. Each crossover you act on is essentially a coin flip.
How to avoid it: First confirm there is a trend. Price should be making higher highs and higher lows (uptrend) or lower highs and lower lows (downtrend). Only act on crossovers that align with the established trend direction.
02
Ignoring the zero line when evaluating crossover quality
Why it hurts: A bullish crossover when MACD is at +8 is a very different signal than one at -4. The extended crossover happens after most of the move has already occurred — you're the last buyer.
How to avoid it: Use the zero line as a quality filter. Prioritise bullish crossovers that happen near or below zero (momentum recovering from oversold) and bearish crossovers near or above zero (momentum rolling over from overbought).
03
Using MACD on very short timeframes
Why it hurts: MACD is built on EMAs which are backward-looking — they describe what has already happened. On 1–5 minute charts, by the time MACD signals a crossover, the move is almost entirely over. You're always late.
How to avoid it: Use MACD on 1-hour, 4-hour, or daily charts where the lag is acceptable. For short-term momentum, focus on order flow, volume, or price action directly rather than lagging EMA-based indicators.
04
Treating MACD as a complete trading system
Why it hurts: No single indicator works in all conditions. MACD used alone will generate losing trades in sideways markets, and will lag in fast-moving trends. Relying on it exclusively creates overconfidence.
How to avoid it: Use MACD as one confirmation in a multi-step process: check the broader trend (200-day MA), identify a support/resistance level, confirm with a candlestick pattern, then use MACD crossover as the final entry trigger.

🧠Quick Check — 4 questions
Reading MACD Signals1 / 4

TSLA's MACD histogram bars have been positive for 5 weeks and are now shrinking for the second consecutive day. Price has not dropped yet. What should you do?

See MACD in action on real charts

Add MACD to any stock chart on Liv2Trade. Watch for crossovers, zero-line crosses, and divergences — then practice trading those signals with paper money.

Up Next
Trend Lines & Channels →
Next Article