Home → Free PDF Library → MACD
Intermediate Guide · 11 Sections · Free Forever

MACD Trend, Momentum & Entry Signals

How to read the MACD line, signal line and histogram together — signal line crossovers, zero line crossovers, divergence, and the crossover mistakes most traders make in sideways markets.

11 Sections ~13 min Read 4 Custom Diagrams

Written by Deepak Kevadia, Founder & Mentor · Chart Code's trading course in Boisar, Dahanu, Palghar & Online · Last updated

Quick Answer: What Is MACD and How Do You Read It?

MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator built from the relationship between two moving averages. These terms cover most of what a beginner needs to know:

MACD line
The 12-period EMA minus the 26-period EMA, showing the gap between a faster and a slower average.
Signal line
A 9-period EMA of the MACD line itself, used as a smoothed trigger reference.
Histogram
The MACD line minus the signal line; growing bars mean momentum is accelerating and shrinking bars mean it is fading, often before a crossover.
Signal line crossover
When the MACD line crosses above or below the signal line, a bullish or bearish momentum signal.
Zero line crossover
When the MACD line crosses the zero line, a stronger but slower signal than the signal line crossover.
Divergence
When price and MACD move in opposite directions at swing extremes, a warning that momentum may be weakening.
MACD vs RSI
MACD focuses on trend and momentum shifts and has no fixed 0 to 100 range, while RSI focuses on momentum extremes.
Level: IntermediateRead time: ~13 minFree PDF available11 sections

What you will learn

What Is MACD and What Are Its Three Parts?

MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator built from the relationship between two moving averages. Unlike RSI, which is bounded between 0 and 100, MACD has no fixed ceiling or floor — it oscillates around a zero line, which itself carries meaning, as this guide covers shortly.

Every MACD panel is made of three distinct parts working together:

Visualising It: The Three Parts of MACD

The MACD line (gold) and signal line (dark) plotted together, with the histogram below showing the gap between them.

0 MACD Line Signal Line HISTOGRAM

How MACD Is Actually Calculated

The default, most widely used settings are 12, 26 and 9:

  1. MACD Line = 12-period EMA minus 26-period EMA — the gap between a faster and slower average.
  2. Signal Line = 9-period EMA of the MACD line itself — a smoothed trigger reference.
  3. Histogram = MACD Line minus Signal Line — the visual gap between the two.

You don't need to calculate this by hand — every charting platform plots it automatically — but understanding what's actually happening underneath makes every signal in this guide easier to trust and interpret correctly, rather than memorised as an arbitrary rule.

Reading the Histogram — Momentum at a Glance

The histogram is often the most underused part of MACD, even though it's arguably the fastest read available. Because it plots the gap between the MACD line and signal line directly, growing bars mean the gap is widening — momentum accelerating — while shrinking bars, even while still positive, mean momentum is decelerating, often before a crossover even happens.

A genuinely useful early read

Shrinking histogram bars, while the MACD line is still above the signal line, are often an earlier warning of weakening momentum than waiting for the actual crossover — by the time the lines cross, some of the move has usually already happened.

Signal Line Crossovers

Visualising It: Bullish and Bearish Signal Line Crossovers

A bullish crossover when the MACD line crosses above the signal line, and a bearish crossover when it crosses below.

Bullish Crossover MACD crosses above Signal Bearish Crossover MACD crosses below Signal

This is the most commonly cited MACD signal: when the faster MACD line crosses above the slower signal line, it's read as bullish; crossing below is read as bearish. It's a genuinely useful timing tool, but it's also the fastest and noisiest of MACD's signals, which is exactly why it deserves the caution covered in the mistakes section ahead.

Zero Line Crossovers — A Stronger, Slower Signal

Visualising It: The MACD Line Crossing Zero

A move above zero suggests the shorter average has overtaken the longer one — a broader shift toward bullish momentum.

Zero Crosses above zero — bullish regime Below zero — bearish regime

When the MACD line itself crosses above zero, it means the faster moving average has overtaken the slower one — a broader, slower-forming signal than a signal-line crossover, and generally read as stronger confirmation that the dominant trend has genuinely shifted, not just paused.

MACD Divergence

Just like RSI, MACD can diverge from price — and the read works the same way: price and MACD disagreeing at swing extremes is a warning sign the current move may be running out of steam.

Visualising It: MACD Bullish Divergence

Price makes a lower low while MACD makes a higher low — downward momentum quietly weakening even as price prints a fresh low.

PRICE Lower Low MACD Higher Low
The mirror version, briefly

Bearish divergence works the same way in reverse: price makes a higher high while MACD makes a lower high — upward momentum quietly fading even as price prints a fresh high.

Just like RSI divergence, treat MACD divergence as a caution flag worth combining with support/resistance or a confirming candle, never as a standalone entry trigger on its own.

MACD vs RSI: When to Use Which

AspectMACDRSI
Core focusTrend and momentum shiftsMomentum extremes (overbought/oversold)
ScaleUnbounded, oscillates around zeroBounded, 0 to 100
Signal styleCrossovers (signal line, zero line)Threshold levels (70/30) and divergence
Best suited forTrending marketsBoth trending and range-bound reads

The two aren't competitors — they measure related but genuinely different things, which is exactly why many traders run both side by side rather than treating it as a choice between one or the other.

Combining MACD With Price Action

MACD is derived entirely from price, so — just like every other indicator in this series — it works best as a confirming layer, not a replacement for reading the chart itself. A bullish signal line crossover happening right as price breaks above a known resistance zone carries meaningfully more weight than the identical crossover appearing in the middle of a directionless range.

📌 Reading MACD crossovers and divergence together with trend and price structure, instead of trading crossovers blindly, is exactly the kind of layered skill we build hands-on in our structured courses at Chart Code, offline in Boisar or live online anywhere in India.

Common MACD Mistakes

01

Trading every crossover in a sideways market

MACD whipsaws constantly in range-bound conditions, producing a string of false signal line crossovers.

02

Ignoring the histogram entirely

Waiting for the full crossover while ignoring shrinking histogram bars, which often warn earlier.

03

Treating every crossover as equal weight

Not distinguishing a fast, noisy signal line crossover from a slower, stronger zero line crossover.

04

Trading MACD completely alone

Acting on crossovers or divergence without any support/resistance or trend context to confirm them.

05

Forgetting MACD is a lagging indicator

Expecting MACD to predict a move, when it's mathematically built from moving averages that always lag price.

06

No stop-loss on crossover trades

Entering on a crossover without a predefined invalidation point turns a manageable loss into an open-ended one.

Your MACD Reading Checklist

Before acting on any MACD signal, run through this five-point check:

✓

Trend Context

Is the market genuinely trending, or is this a sideways range where crossovers are more likely to whipsaw?

✓

Which Signal Type?

Are you reacting to a fast signal line crossover or a stronger zero line crossover — and are you weighting it accordingly?

✓

Histogram Confirms

Do the histogram bars support the same read, growing or shrinking in the expected direction?

✓

Price Structure Agrees

Does a nearby support/resistance zone or chart pattern support the same signal as MACD?

✓

Defined Risk

Do you know exactly where this signal would be proven wrong, and have you placed a stop-loss there?

Learn the Stock Market with Deepak Kevadia: Boisar, Dahanu, Palghar & Online

This guide is part of the free learning library from Chart Code, founded and mentored by Deepak Kevadia (BSE NISM Certified). Understanding the three parts of MACD is step one; reading crossovers and divergence on live charts with a mentor is step two. Chart Code's trading course is taught in person at Boisar and live online, so students from Boisar, Dahanu and Palghar, and anywhere in India, can join.

Explore the trading course · Meet Deepak Kevadia · More free guides

Prefer to Study Offline?

Get this entire guide and all 4 diagrams as a clean, printable PDF — free when you join our Telegram channel. Keep it open next to your charts.

✈ Join Free Telegram to Download PDF

Common Questions

12 and 26 refer to the number of periods used in the two exponential moving averages whose difference forms the MACD line, and 9 refers to the period of the EMA applied to the MACD line itself to create the signal line. These are the original, most widely used default settings, and most traders leave them unchanged rather than customising them.
Not reliably on its own. Signal line crossovers happen frequently, including many false ones during sideways, range-bound markets, so most traders treat a crossover as one input to combine with trend context, support/resistance, or a confirming candle, rather than an automatic trade trigger.
A signal line crossover happens when the MACD line crosses the signal line, and tends to occur more frequently, making it a faster but noisier signal. A zero line crossover happens when the MACD line itself crosses above or below zero, and is generally read as a stronger, slower confirmation that the broader trend has genuinely shifted.
Not particularly well. MACD is a trend-following momentum tool, and in a genuinely sideways market it tends to whipsaw back and forth across the signal line and zero line, generating frequent false crossovers rather than clean, reliable signals.
Many traders use both, since they measure related but distinct things — MACD leans more toward trend and momentum shifts, while RSI leans more toward overbought/oversold extremes and divergence. Used together, agreement between the two can add confidence, though neither should be used entirely alone regardless.
Yes. Chart Code, mentored by Deepak Kevadia, runs a structured stock market and trading course with in-person classes at its Boisar centre (208, Yash Padma Arcade, Boisar Tarapur Road) and live online classes, so students from Dahanu, Palghar and the rest of India can also join.
Yes. Live online sessions are available alongside the classroom course, so you can learn from anywhere in India. Check the Courses page for current batches or message Chart Code on WhatsApp at +91 95121 00588.

Sources & Further Reading

Educational disclaimer: This guide is for education only. It is not investment advice or a recommendation to buy or sell any security. MACD crossovers can give false signals, especially in sideways markets, and trading involves risk of loss.

Ready to Read MACD Like a Professional?

Spotting a crossover is step one. Weighing it against trend and price structure is step two — offline at Boisar or live online, anywhere in India.

View Our Courses Browse All Free PDFs