Lemonn Mobile Sticky Banner

MACD Indicator: Reading Crossovers, Histogram, and Divergence

Prefer us on Google — Button Prefer us on Google
MACD Indicator

The MACD indicator is a momentum tool traders use to identify changes in trend direction and strength. Its three key signals are crossovers, changes in the MACD histogram, and divergence between MACD and price.

A bullish crossover can suggest momentum is improving, while a bearish crossover can signal weakening momentum. The histogram shows how the gap between MACD and its signal line is changing, and divergence can warn that a price trend is losing strength. None of these signals guarantees a reversal, so MACD is usually more useful when combined with price action, trend analysis, and risk management.

What Is the MACD Indicator?

MACD stands for Moving Average Convergence Divergence. It is a technical indicator that measures changes in momentum by comparing two exponential moving averages (EMAs).

A standard MACD setup uses:

  • 12-period EMA
  • 26-period EMA
  • 9-period EMA of the MACD line, called the signal line

These settings are commonly written as MACD (12, 26, 9).

MACD can be applied to stocks, indices, cryptocurrencies, forex, commodities, and other markets where reliable price data is available.

It appears below the price chart and typically contains three elements:

  1. MACD line
  2. Signal line
  3. Histogram

Understanding how these elements interact is more useful than treating MACD as a simple buy-or-sell indicator.

How Is MACD Calculated?

The basic MACD formula is:

MACD line = 12-period EMA – 26-period EMA

The signal line is then calculated as:

Signal line = 9-period EMA of the MACD line

Finally:

MACD histogram = MACD line – Signal line

Most charting platforms calculate these values automatically.

Still, understanding the formula helps explain what the indicator is actually showing.

Why Does MACD Use Two Moving Averages?

The 12-period EMA reacts more quickly to recent price changes than the slower 26-period EMA.

When short-term prices strengthen relative to the longer-term trend, the 12-period EMA can move farther above the 26-period EMA. The MACD line consequently rises.

When short-term momentum weakens, the gap can shrink or turn negative.

This changing relationship gives MACD its name: Moving Average Convergence Divergence.

What Are the Three Parts of MACD?

Before reading MACD signals, it helps to understand what each component represents.

MACD componentWhat it shows
MACD lineDifference between the fast and slow EMAs
Signal lineSmoothed version of the MACD line
HistogramDistance between the MACD and signal lines
Zero lineWhether the fast EMA is above or below the slow EMA

Each provides a different view of momentum.

The most useful MACD analysis often comes from looking at the components together rather than relying on a single signal.

How Do You Read a MACD Crossover?

A MACD crossover occurs when the MACD line crosses above or below its signal line.

There are two main types: bullish and bearish.

What Is a Bullish MACD Crossover?

A bullish crossover occurs when:

MACD line crosses above the signal line

This indicates that short-term momentum is strengthening relative to its recent trend.

Traders may interpret it as a potential bullish signal.

For example, imagine:

  • MACD line = -0.20
  • Signal line = -0.25

The MACD line has moved above the signal line. That creates a bullish crossover even though both values remain below zero.

The location of the crossover can provide additional context.

What Is a Bearish MACD Crossover?

A bearish crossover occurs when:

MACD line crosses below the signal line

This suggests momentum is weakening.

For example:

  • MACD line = 1.10
  • Signal line = 1.20

The MACD line is now below the signal line, creating a bearish crossover.

This does not necessarily mean the broader trend has turned bearish. It may simply indicate that an existing uptrend is losing momentum.

Are MACD Crossovers Buy and Sell Signals?

MACD crossovers can be used as trading signals, but treating every crossover as an automatic buy or sell instruction can produce many false signals.

MACD is based on moving averages, which means it reacts to price rather than predicting it.

In a strong trend, a crossover may help identify a meaningful shift in momentum.

In a sideways market, however, the MACD and signal lines can cross repeatedly without price establishing a meaningful trend. This is sometimes called a whipsaw.

A trader might therefore look for confirmation from:

  • Support and resistance
  • Price breakouts
  • Market structure
  • Trading volume
  • Longer-term trend
  • Candlestick behaviour
  • Other momentum indicators

The goal is not to collect as many indicators as possible. It is to determine whether price action supports the MACD signal.

What Does the MACD Histogram Show?

The MACD histogram shows the difference between the MACD line and the signal line.

Its formula is:

Histogram = MACD line – Signal line

When the MACD line is above the signal line, the histogram is positive.

When the MACD line is below the signal line, it is negative.

The size of the bars tells you whether the distance between the two lines is expanding or contracting.

What Do Rising MACD Histogram Bars Mean?

Growing positive histogram bars indicate that the MACD line is pulling farther above the signal line.

That generally suggests bullish momentum is strengthening.

For example:

PeriodMACDSignalHistogram
10.500.40+0.10
20.650.45+0.20
30.850.50+0.35

The positive gap is increasing.

That does not tell you how far price will rise. It tells you that momentum, as measured by MACD, is accelerating.

What Do Falling Positive Histogram Bars Mean?

Suppose the histogram remains above zero, but its bars become progressively smaller.

For example:

+0.50 → +0.35 → +0.20 → +0.08

Momentum remains positive, but the distance between the MACD and signal lines is narrowing.

This can indicate that bullish momentum is slowing.

If the MACD line eventually crosses below the signal line, the histogram moves below zero.

What Do Negative MACD Histogram Bars Mean?

A negative histogram means the MACD line is below the signal line.

If the negative bars are growing larger, bearish momentum is strengthening.

If they start shrinking toward zero, bearish momentum is weakening.

This makes the histogram useful for spotting changes in momentum before focusing on the next crossover.

What Does the MACD Zero Line Mean?

The zero line provides another way to interpret MACD.

Remember:

MACD = Fast EMA – Slow EMA

If MACD is above zero, the faster EMA is above the slower EMA.

If MACD is below zero, the faster EMA is below the slower EMA.

Bullish Zero-Line Crossover

When MACD crosses from below zero to above zero, the shorter-term EMA has crossed above the longer-term EMA.

This can indicate a shift toward bullish trend momentum.

Bearish Zero-Line Crossover

When the MACD crosses below zero, the shorter-term EMA has crossed below the longer-term EMA.

This can indicate a bearish shift.

Zero-line crossovers generally develop more slowly than signal-line crossovers because a larger change in the relationship between the underlying moving averages is required.

Signal-Line Crossover vs Zero-Line Crossover

These two MACD signals measure different changes.

SignalWhat happensTypical interpretation
Bullish signal-line crossoverMACD moves above signal lineMomentum improving
Bearish signal-line crossoverMACD moves below signal lineMomentum weakening
Bullish zero-line crossoverMACD moves above zeroFast EMA above slow EMA
Bearish zero-line crossoverMACD moves below zeroFast EMA below slow EMA

Signal-line crossovers can occur more frequently.

Zero-line crossovers can provide broader trend context.

A bullish signal-line crossover below zero, for example, may indicate that bearish momentum is weakening before the broader EMA relationship turns bullish.

What Is MACD Divergence?

MACD divergence occurs when price and the MACD indicator move in different directions.

Traders watch divergence because momentum sometimes weakens before price visibly reverses.

The two most common forms are:

  • Bullish divergence
  • Bearish divergence

Divergence is a warning or setup condition, not confirmation that a reversal must occur.

What Is Bullish MACD Divergence?

A bullish MACD divergence occurs when:

Price forms a lower low, while MACD forms a higher low.

Imagine a stock falls from ₹500 to ₹450, rebounds, and then falls to ₹430.

Price has made a lower low.

Suppose MACD reached -8 during the first decline but only -5 during the second.

MACD has made a higher low.

That disagreement suggests that downside momentum may be weakening, even though the price has reached a new low.

Does Bullish Divergence Mean You Should Buy?

Not automatically.

A market can continue to fall after a bullish divergence appears. Strong trends can produce divergence for an extended period.

Traders may wait for additional evidence, such as:

  • A break above resistance
  • A higher high or higher low in price
  • A bullish MACD crossover
  • Increased buying volume
  • A reversal candlestick pattern

Divergence can alert you to a possible change. Price action can help confirm whether that change is actually happening.

What Is Bearish MACD Divergence?

A bearish MACD divergence occurs when:

Price makes a higher high, while MACD makes a lower high.

For example, suppose an index rallies to 25,000, pulls back, and then climbs to 25,500.

Price has reached a new high.

But if MACD peaked at 300 during the first rally and only 220 during the second, momentum has failed to confirm the higher price.

That can indicate weakening upside momentum.

It does not guarantee that the market will fall.

Price could consolidate briefly and continue higher, particularly during a powerful trend.

What Is Hidden MACD Divergence?

Some traders also monitor hidden divergence, which is generally used to look for trend continuation rather than reversal.

Hidden Bullish Divergence

Hidden bullish divergence occurs when:

  • Price forms a higher low
  • MACD forms a lower low

Traders may interpret this as a possible continuation signal during an existing uptrend.

Hidden Bearish Divergence

Hidden bearish divergence occurs when:

  • Price forms a lower high
  • MACD forms a higher high

It may be interpreted as a possible continuation signal within a downtrend.

Hidden divergence is more subjective than a simple crossover. Consistently identifying meaningful swing highs and lows is important.

How Can You Combine MACD Crossovers and Divergence?

MACD signals become more informative when viewed in context.

Suppose a stock has been falling and then shows:

  1. Price makes a lower low.
  2. MACD makes a higher low.
  3. The histogram’s negative bars begin shrinking.
  4. MACD crosses above its signal line.
  5. Price breaks above a nearby resistance level.

The first observation indicates bullish divergence.

The shrinking histogram suggests bearish momentum is weakening.

The MACD crossover shows momentum has shifted further.

The price breakout then provides confirmation from the market itself.

This does not guarantee a profitable trade, but it provides more information than relying on a crossover alone.

How Can You Use MACD With Trend Analysis?

MACD signals can behave differently depending on the broader trend.

Suppose the price is above a rising 200-day moving average and continues to make higher highs and higher lows.

A trader might give greater attention to bullish MACD signals that occur during pullbacks while treating bearish crossovers as possible temporary corrections.

During a downtrend, the opposite logic could apply.

This approach uses the broader trend as context rather than asking MACD to determine everything.

MACD vs RSI: What Is the Difference?

MACD and the Relative Strength Index (RSI) are both momentum indicators, but they measure momentum differently.

MACDRSI
Based on the relationship between moving averagesBased on the magnitude of recent gains and losses
Not bounded to a fixed rangeBounded between 0 and 100
Uses signal-line and zero-line crossoversOften uses overbought and oversold zones
Histogram visualizes momentum changesRSI level shows relative momentum
Divergence can be analyzedDivergence can also be analyzed

Neither indicator is inherently superior.

MACD can be particularly useful for understanding momentum relative to the trend, while RSI makes it easier to see when momentum reaches historically high or low levels on its 0 to 100 scale.

Using both can provide additional context, but similar signals from two momentum indicators should not automatically be treated as independent confirmation.

What Are the Best MACD Settings?

The most common MACD setting is:

12, 26, 9

That means:

  • Fast EMA: 12 periods
  • Slow EMA: 26 periods
  • Signal line: 9 periods

These are default settings on many charting platforms.

However, there is no universally “best” MACD setting.

Shorter settings make the indicator more sensitive to recent price movements. This can generate earlier signals, but also more noise.

Longer settings smooth the indicator and may produce fewer signals, but they can react more slowly.

The appropriate setting depends on factors such as:

  • Trading timeframe
  • Asset volatility
  • Strategy
  • Holding period
  • Desired signal frequency

Changing settings until they perfectly match historical trades can lead to overfitting. A setting that looks excellent on past charts may perform poorly in future market conditions.

Does MACD Work for Intraday Trading?

MACD can be applied to intraday charts because its calculations are based on periods rather than fixed daily intervals.

For example, MACD (12, 26, 9) on a 15-minute chart uses 15-minute candles.

However, lower timeframes can contain more market noise. This may create frequent crossovers and false signals.

Intraday traders may therefore combine MACD with:

  • Higher-timeframe trend
  • Support and resistance
  • Volume
  • Price structure
  • Defined stop-loss levels
  • Position sizing

The indicator should fit into a trading system rather than becoming the entire system.

What Are the Limitations of MACD?

MACD is useful, but it has several limitations.

MACD Is a Lagging Indicator

MACD is calculated from moving averages, which are calculated from historical prices.

Signals therefore occur after price has already moved to some degree.

Crossovers Can Produce False Signals

In sideways markets, the MACD and signal lines may cross repeatedly.

A trader reacting to every crossover could enter and exit too frequently, failing to capture a sustained move.

Divergence Can Persist

Price can continue trending even when MACD divergence appears.

A bearish divergence does not establish a market top, and bullish divergence does not establish a bottom.

MACD Does Not Measure Risk

MACD does not tell you:

  • How much capital to risk
  • Where your stop-loss should be
  • What position size to use
  • How large a potential loss could become

Those decisions require a separate risk-management framework.

MACD Signals Depend on the Timeframe

A stock can show bullish MACD momentum on a 15-minute chart while displaying bearish momentum on a daily chart.

Always identify the timeframe relevant to your trading decision.

How to Read MACD Step by Step

When analyzing a MACD chart, use a consistent process rather than reacting to a single line crossing another.

Step 1: Identify the Broader Trend

Look at price first.

Is the market trending upward, trending downward, or moving sideways?

Step 2: Check the MACD Zero Line

See whether MACD is above or below zero.

This tells you whether the faster EMA is currently above or below the slower EMA.

Step 3: Look at the MACD and Signal Lines

Check whether the MACD line is:

  • Above the signal line
  • Below the signal line
  • Approaching a crossover

Step 4: Read the Histogram

Ask whether the bars are expanding or contracting.

Shrinking bars can indicate that existing momentum is losing strength before a crossover occurs.

Step 5: Look for Divergence

Compare meaningful price highs and lows with the corresponding highs and lows in the MACD.

Do not force divergence onto minor fluctuations.

Step 6: Look for Price Confirmation

Finally, return to the price chart.

Support, resistance, trend structure, breakouts, and volume can help determine whether the MACD signal is practically significant.

What Is a Strong MACD Signal?

There is no single MACD pattern that guarantees a strong trade.

A signal may carry more context when several independent observations point in the same direction.

For example, a potential bullish setup could include:

  • Price at an established support area
  • Bullish MACD divergence
  • Negative histogram bars contracting
  • Bullish signal-line crossover
  • Price breaking a recent swing high
  • Improving trading volume

The important word is independent.

A MACD crossover and histogram change are mathematically related because the histogram is derived directly from the MACD and signal lines. They should not be treated as two completely separate confirmations.

Common MACD Mistakes to Avoid

A technically correct indicator can still be used poorly.

Common mistakes include:

  • Buying every bullish crossover
  • Selling every bearish crossover
  • Treating divergence as a guaranteed reversal
  • Ignoring the broader price trend
  • Using too many similar momentum indicators
  • Changing MACD settings after every losing trade
  • Ignoring transaction costs and slippage
  • Using leverage without defined risk limits
  • Comparing MACD values directly across differently priced assets
  • Backtesting until settings perfectly fit historical data

MACD works best as a momentum indicator, not as a prediction machine.

FAQs About the MACD Indicator

What does MACD stand for?

A. MACD stands for Moving Average Convergence Divergence. It measures momentum using the relationship between shorter-term and longer-term exponential moving averages.

What is a bullish MACD crossover?

A. A bullish MACD crossover occurs when the MACD line moves above its signal line. It indicates improving momentum but does not guarantee that price will rise.

What is a bearish MACD crossover?

A. A bearish crossover occurs when the MACD line moves below the signal line. It suggests momentum is weakening and may indicate increasing bearish pressure.

What does the MACD histogram tell you?

A. The MACD histogram measures the difference between the MACD line and signal line. Expanding bars indicate that the gap is increasing, while contracting bars show that the two lines are moving closer together.

What is MACD divergence?

A. MACD divergence occurs when price and the MACD move in opposite directions. For example, bullish divergence occurs when price makes a lower low while MACD forms a higher low, potentially signaling weakening bearish momentum.

What are the standard MACD settings?

A. The standard settings are 12, 26, 9. These use a 12-period EMA, 26-period EMA, and a 9-period EMA of the MACD line as the signal line.

Is MACD a leading or lagging indicator?

A. MACD is generally considered a lagging indicator because it is derived from moving averages of historical prices. Divergence may signal a shift in momentum before a reversal, but it cannot reliably predict whether or when a reversal will occur.

Which is better, MACD or RSI?

A. Neither is universally better. MACD focuses on the relationship between moving averages and momentum, while RSI measures recent price strength on a scale from 0 to 100. Their usefulness depends on the strategy and market conditions.

Can MACD give false signals?

A. Yes. False crossovers are particularly common during sideways or choppy markets. Traders often use trends, support and resistance levels, volume, and price action to provide additional context.

Can MACD predict market reversals?

A. No indicator can consistently predict market reversals. MACD divergence, histogram changes, and crossovers can signal shifts in momentum, but price may continue moving in the existing direction despite these signals.

Key Takeaways

  • MACD measures momentum using the difference between faster and slower exponential moving averages.
  • Standard MACD settings are 12, 26, 9.
  • A bullish crossover occurs when the MACD line moves above the signal line, while a bearish crossover occurs when it moves below.
  • The MACD histogram measures the distance between the MACD and signal lines and helps show whether momentum is strengthening or weakening.
  • Bullish divergence occurs when price makes a lower low while MACD makes a higher low.
  • Bearish divergence occurs when price makes a higher high while MACD makes a lower high.
  • MACD crossovers and divergence are signals, not guarantees of future price direction.
  • Price structure, trend, volume, and risk management can provide important context when using MACD.

Disclaimer

The stocks mentioned in this article are not recommendations. Please conduct your own research and due diligence before investing. Investment in securities market are subject to market risks, read all the related documents carefully before investing. Please read the Risk Disclosure documents carefully before investing in Equity Shares, Derivatives, Mutual fund, and/or other instruments traded on the Stock Exchanges. As investments are subject to market risks and price fluctuation risk, there is no assurance or guarantee that the investment objectives shall be achieved. Lemonn (Formerly known as NU Investors Technologies Pvt. Ltd) do not guarantee any assured returns on any investments. Past performance of securities/instruments is not indicative of their future performance.

Sleek Sticky Registration Footer