MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator that shows the relationship between two exponential moving averages. Created by Gerald Appel, MACD is one of the most popular technical indicators, used to identify trend direction, momentum, and potential reversals through crossovers and divergences.
- Shows relationship between 12-period and 26-period EMAs
- Crossovers signal momentum shifts
- Divergences warn of potential reversals
How MACD Works
MACD calculates momentum from moving average relationships:
MACD Calculation:
MACD Line = 12-period EMA - 26-period EMA
Signal Line = 9-period EMA of MACD Line
Histogram = MACD Line - Signal Line
Example:
12 EMA = ₹1,050
26 EMA = ₹1,030
MACD Line = 1,050 - 1,030 = 20
Previous 9 MACD values averaged = 15
Signal Line = 15
Histogram = 20 - 15 = 5 (positive = bullish)
Quick Reference: MACD Signals
| Signal | Condition | Meaning |
|---|---|---|
| Bullish Crossover | MACD crosses above signal | Buy signal |
| Bearish Crossover | MACD crosses below signal | Sell signal |
| Above Zero Line | MACD positive | Uptrend |
| Below Zero Line | MACD negative | Downtrend |
| Bullish Divergence | Price lower low, MACD higher low | Reversal warning |
| Bearish Divergence | Price higher high, MACD lower high | Reversal warning |
Example: MACD Trade
Bullish MACD Crossover:
| Day | Price | MACD | Signal | Action |
|---|---|---|---|---|
| 1 | ₹100 | -2 | -1 | Bearish |
| 2 | ₹98 | -3 | -2 | Bearish |
| 3 | ₹99 | -2 | -2 | Neutral |
| 4 | ₹102 | 0 | -1 | Bullish crossover! |
| 5 | ₹105 | 3 | 1 | Confirmed uptrend |
Entry: Day 4 on bullish crossover Result: Caught the start of an uptrend
MACD compares fast and slow moving averages to show momentum. When MACD crosses above its signal line, momentum is bullish. Crossovers generate buy and sell signals. Divergences between MACD and price warn of reversals.
MACD Components
MACD Line
The difference between 12 and 26 EMAs. Shows momentum direction.
Signal Line
9-period EMA of MACD. Smoother line for crossover signals.
Histogram
Visual representation of MACD minus signal. Growing bars show strengthening momentum.
Zero Line
When MACD crosses zero, the 12 EMA crosses the 26 EMA—significant trend signal.
MACD Trading Strategies
Crossover Strategy
Buy when MACD crosses above signal; sell when it crosses below.
Zero Line Cross
Buy when MACD crosses above zero; sell when it crosses below.
Divergence Trading
Look for divergences between price and MACD for reversal trades.
Histogram Reversals
Enter when histogram starts shrinking (momentum slowing).
MACD Limitations
- Lagging indicator – Signals come after price moves.
- False signals in ranging markets – Whipsaws when no trend.
- Doesn’t show overbought/oversold – Use RSI for that.
- Parameter dependent – Different settings give different signals.
Common Mistakes
-
Trading every crossover – Filter with trend direction or other indicators.
-
Ignoring the trend – MACD works best with the trend, not against it.
-
Missing divergences – Divergences are often the best MACD signals.
-
Wrong timeframe – MACD settings should match your trading timeframe.
How JournalPlus Tracks MACD
JournalPlus lets you log MACD conditions at entry, tracking whether your MACD-based trades are profitable and which signals work best for your style.