Moving Average Convergence Divergence (MACD)
When traders talk about powerful technical indicators, the MACD (Moving Average Convergence Divergence) is almost always part of the conversation. It’s one of the most widely used tools in stock trading, forex, and even crypto markets because it combines both trend-following and momentum-measuring features in a single chart.
If you’ve ever wondered what MACD is, how it works, and why so many traders rely on it, this blog will give you a complete breakdown with examples and strategies you can start applying today.
What is MACD?
The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator. It shows the relationship between two moving averages of a stock’s price:
The difference between these two EMAs creates the MACD line. Alongside this, a signal line (9-period EMA of the MACD line) is plotted, and together they generate trading signals.
In addition, MACD often includes a histogram, which visually shows the distance between the MACD line and the signal line.
Why Do Traders Use MACD?
MACD is popular because it helps traders in multiple ways:
- Trend Direction – Shows whether the market is bullish or bearish.
- Momentum Strength – The histogram highlights momentum shifts.
- Trade Signals – Crossovers provide entry and exit signals.
- Versatility – Works across stocks, indices, forex, and crypto.
How is MACD Calculated?
The standard MACD formula is:
- MACD=12-period EMA − 26-period EMA
- Signal Line: 9-period EMA of the MACD line.
- Histogram: MACD line – Signal line.
Don’t worry, most charting platforms calculate this automatically—you just need to interpret the signals.
How to Read MACD
- MACD Line Above Zero → Bullish momentum.
- MACD Line Below Zero → Bearish momentum.
- MACD Crossing Signal Line → Buy or sell signal.
- Histogram Expanding → Strong momentum.
- Histogram Contracting → Weakening momentum.
MACD Trading Strategies
1. MACD Line and Signal Line Crossovers
- Bullish Signal: When MACD crosses above the signal line.
- Bearish Signal: When MACD crosses below the signal line.
Example: If Infosys MACD line crosses above the signal line, traders may enter long positions.
2. Zero Line Crossovers
- Above Zero: Market in uptrend.
- Below Zero: Market in downtrend.
Example: If Nifty 50’s MACD crosses above zero, it confirms a strong bullish trend.
3. MACD Histogram Analysis
- A rising histogram = momentum strengthening.
- A falling histogram = momentum weakening.
Example: Before major rallies, you’ll often see the histogram expanding rapidly.
4. Divergence Strategy
Divergence occurs when the price moves in one direction while MACD moves in the opposite.
- Bullish Divergence: Price makes lower lows, but MACD makes higher lows → Possible reversal up.
- Bearish Divergence: Price makes higher highs, but MACD makes lower highs → Possible reversal down.
Example: A bearish divergence in Tesla’s chart warned traders of weakness before a correction.
Practical Example of MACD
Imagine trading Reliance Industries (RIL):
- The MACD line crosses above the signal line while the histogram turns positive → entry signal.
- Later, the MACD line dips below the signal line while the histogram goes negative → exit or short-sell signal.
Advantages of MACD
✔ Combines trend and momentum in one tool
✔ Works across all timeframes (daily, weekly, intraday)
✔ Easy to use and widely available on all platforms
✔ Great for spotting divergences and early reversals
Limitations of MACD
❌ Lagging indicator—it reacts after price changes
❌ Can give false signals in sideways markets
❌ Divergence doesn’t always guarantee a reversal
❌ Should be used with other indicators for confirmation
Combining MACD with Other Indicators
- MACD + RSI → RSI confirms whether a stock is overbought or oversold.
- MACD + Moving Averages → Helps confirm trend direction.
- MACD + Support/Resistance → Strong entry signals when crossover happens near key levels.
Best Settings for MACD
The standard MACD (12, 26, 9) works well for most markets. However:
- Day Traders may use faster settings like (8, 17, 9).
- Swing Traders usually stick with (12, 26, 9).
- Investors might prefer slower settings like (19, 39, 9).