MACD and Trend-Following Indicators
Learning Objectives
Understand MACD construction and what each component represents
Interpret MACD signals including crossovers, histogram, and zero-line
Use MACD divergence as a warning signal
Apply ADX to measure trend strength
Distinguish when to use trend-following indicators versus oscillators
In Lesson 8, you learned that moving averages identify trends. In Lesson 9, you learned that RSI measures momentum. MACD does both—it's a momentum indicator built from moving averages, designed to catch trend changes early while filtering noise.
Gerald Appel developed MACD in the 1970s, and it's remained one of the most popular indicators ever since. Its genius is simplicity: compare two moving averages and track their relationship. When the shorter MA is above the longer, momentum is bullish. When below, bearish. The distance between them shows momentum strength.
But like all indicators, MACD has limitations. It lags (it's built from lagging MAs). It can whipsaw in ranges. And it's not magic. Understanding both its power and its limitations is essential for proper use.
MACD consists of three elements:
1. MACD Line:
MACD Line = 12-period EMA - 26-period EMA
This is the primary indicator.
When 12 EMA > 26 EMA: MACD line is positive (bullish)
When 12 EMA < 26 EMA: MACD line is negative (bearish)
2. Signal Line:
Signal Line = 9-period EMA of the MACD Line
This smooths the MACD line.
Used for crossover signals.
3. Histogram:
Histogram = MACD Line - Signal Line
Visual representation of the distance between MACD and Signal.
Positive bars: MACD above Signal (bullish momentum)
Negative bars: MACD below Signal (bearish momentum)
MACD PANEL:
Zero Line
│
┌──────┼────────────────┐
│ ╱╲ │ ╱╲ Signal │
│╱ ╲ │ ╱ ╲ Line │
│ ╲ │ ╱ ╲ │
────│─────╳│─╱──────╲───────│── Zero Line
│ ╱ ╲╱ ╲ │
│ ╱ MACD ╲ │
│ ╱ Line ╲ │
└──────┼────────────────┘
│
▄▄██▄▄ │ ▄▄██▄▄ Histogram
████ │ ████
│
- When short-term momentum exceeds long-term: MAs spread apart (diverge)—strong trend
- When momentum fades: MAs come together (converge)—trend weakening
- 12 EMA reflects recent momentum
- 26 EMA reflects intermediate trend
- Their difference shows if recent momentum aligns with or deviates from the intermediate trend
- Fast EMA: 12
- Slow EMA: 26
- Signal: 9
Why Standard?
Like moving averages, MACD settings work partly because many traders use them. Custom settings may curve-fit past data without improving future performance.
- Faster (8,17,9): More signals, more noise
- Slower (19,39,9): Fewer signals, more lag
- For most traders: Stick with standard
The most common MACD signal:
Bullish Crossover:
MACD line crosses ABOVE signal line
Interpretation: Short-term momentum turning bullish
Action: Potential buy signal
Signal ───────────
╱
─────╱───── MACD (crosses above)
Bearish Crossover:
MACD line crosses BELOW signal line
Interpretation: Short-term momentum turning bearish
Action: Potential sell signal
─────╲───── MACD (crosses below)
╲
Signal ───────────
- Bullish crossover in uptrend: Higher probability
- Bullish crossover in downtrend: Lower probability, possible counter-trend bounce
MACD crossing the zero line is more significant:
Cross Above Zero:
MACD line crosses above zero
Meaning: 12 EMA now above 26 EMA
Interpretation: Intermediate trend turning bullish
│ MACD ───────╱──────
Zero │────────────╱────────
│ ╱
Cross Below Zero:
MACD line crosses below zero
Meaning: 12 EMA now below 26 EMA
Interpretation: Intermediate trend turning bearish
│ ╲
Zero │────────────╲────────
│ MACD ──────╲───────
- Signal crossover: More frequent, shorter-term momentum shift
- Zero line cross: Less frequent, more significant trend shift
- Zero line cross often lags but is more reliable
The histogram shows momentum's momentum:
Histogram Growing (Above Zero):
▂▄▆█ (bars increasing)
MACD pulling further above signal
Bullish momentum accelerating
Histogram Shrinking (Above Zero):
█▆▄▂ (bars decreasing)
MACD converging toward signal
Bullish momentum decelerating—potential warning
Histogram Growing (Below Zero):
▂▄▆█ (negative bars increasing)
MACD pulling further below signal
Bearish momentum accelerating
Histogram Shrinking (Below Zero):
█▆▄▂ (negative bars decreasing)
MACD converging toward signal
Bearish momentum decelerating—potential warning
Key Insight
Histogram shrinking warns of potential trend change BEFORE signal line crossover. It's an early warning.
Like RSI, MACD can diverge from price:
Bearish Divergence:
Price: Higher High
MACD: Lower High
Warning: Momentum not confirming price high
Bullish Divergence:
Price: Lower Low
MACD: Higher Low
Warning: Momentum not confirming price low
- Works similarly to RSI divergence
- Requires confirmation—don't act on divergence alone
- MACD divergence at zero line is particularly significant
Average Directional Index (ADX) measures trend strength, not direction.
Key Concept
- MACD tells you direction (bullish/bearish) - ADX tells you strength (strong trend/weak trend)
- 0-25: Weak or absent trend
- 25-50: Strong trend
- 50-75: Very strong trend
- 75-100: Extremely strong trend (rare)
ADX INTERPRETATION:
ADX below 20: Market is ranging/trendless
Oscillators work better
Trend-following will whipsaw
ADX 20-25: Trend potentially emerging
Watch for breakout
ADX above 25: Trend established
Trend-following indicators work well
Oscillators may give false signals
ADX above 40: Strong trend
Stay with trend
Don't fight it
ADX declining: Trend weakening
Even if price continues, momentum fading
ADX + MACD:
ADX above 25 + MACD bullish crossover:
Higher probability trend continuation
ADX below 20 + MACD bullish crossover:
Lower probability—might be false signal in range
```
ADX + RSI:
ADX below 20 + RSI at extreme:
RSI overbought/oversold more meaningful in ranges
ADX above 25 + RSI at extreme:
RSI extremes less meaningful in strong trends
(trend can keep RSI extreme)
```
ADX is actually derived from two directional indicators:
+DI (Plus Directional Indicator): Measures upward price movement
-DI (Minus Directional Indicator): Measures downward price movement
DIRECTIONAL SIGNALS:
+DI crosses above -DI: Bullish
-DI crosses above +DI: Bearish
ADX confirms strength of that direction.
Most traders just use ADX itself for trend strength assessment.
Parabolic Stop-And-Reverse (SAR) is a trend-following indicator that provides potential stop levels and trend direction.
Visualization:
PARABOLIC SAR IN UPTREND:
Price: ╱╲╱╲╱╲╱╲╱
╱ ╲
╱
SAR: · · · · · · (dots below price = bullish)
PARABOLIC SAR IN DOWNTREND:
SAR: · · · · · · (dots above price = bearish)
╲
╲ ╱
Price: ╲╱╲╱╲╱╲╱
```
- Dots below price: Uptrend
- Dots above price: Downtrend
- Long position: Trail stop at SAR dots (below price)
- Short position: Trail stop at SAR dots (above price)
- When dots flip from above to below: Buy signal
- When dots flip from below to above: Sell signal
Whipsaw in Ranges:
Like all trend indicators, SAR whipsaws in sideways markets. Many false flip signals.
Always in Position:
SAR is designed for traders always in the market—flip from long to short, never flat. This isn't realistic for most traders.
Best Use:
Use SAR primarily as trailing stop mechanism within confirmed trends, not as entry signal.
Example:
CONFIRMED UPTREND (by other analysis)
Entry: Based on MACD, support, etc.
Stop management: Trail using Parabolic SAR
Exit: When SAR flips or price closes below SAR
- Moving Averages
- MACD
- ADX
- Parabolic SAR
When They Work:
In trending markets—when price is moving directionally.
When They Fail:
In ranging markets—generate whipsaw signals.
- RSI
- Stochastic
- CCI
When They Work:
In ranging markets—identify extremes at range boundaries.
When They Fail:
In trending markets—stay at extremes while trend continues.
Use ADX to choose which type of indicator to emphasize:
ADX-BASED INDICATOR SELECTION:
- Emphasize oscillators (RSI, Stochastic)
- De-emphasize trend indicators (MACD, MAs)
- Trade range: buy oversold at support, sell overbought at resistance
- Emphasize trend indicators (MACD, MAs)
- De-emphasize oscillators
- Trade trend: buy pullbacks in uptrend, sell rallies in downtrend
- Use ADX to determine current regime (trending or ranging)
- In trends (ADX > 25): Focus on MACD, MAs
- In ranges (ADX < 20): Focus on RSI at extremes
- In transitions (ADX ~20-25): Be cautious, wait for clarity
MACD is perhaps the most versatile single indicator—it provides trend direction, momentum, and divergence information. But versatility doesn't mean infallibility. MACD lags, whipsaws in ranges, and needs context like every other tool. Use it as one input among many, match it to market conditions using ADX as a filter, and always apply proper risk management.
Assignment: Apply MACD and trend-following indicators to XRP with focus on regime identification and appropriate indicator selection.
Requirements:
Part 1: Current MACD Analysis (2 pages)
- Where is MACD relative to zero?
- Where is MACD relative to signal line?
- Is histogram expanding or contracting?
- What does MACD currently tell you about trend/momentum?
Are there any MACD divergences present?
Part 2: ADX Environment Assessment (1-2 pages)
- What is current ADX reading?
- Is market trending or ranging based on ADX?
- What type of indicators should you emphasize?
Review last 3 months: Identify periods when ADX was above 25 vs. below 20. What happened during each?
Part 3: MACD Signal History (2-3 pages)
- Identify 5 MACD crossover signals
- For each:
What patterns do you notice about which signals worked?
Part 4: Indicator Selection Framework (1-2 pages)
- When will you emphasize MACD for XRP?
- When will you emphasize RSI instead?
- How will you use ADX to decide?
- What confirmation will you require for MACD signals?
Create a decision tree or flowchart if helpful.
- Accurate current MACD interpretation (20%)
- Correct ADX environment assessment (20%)
- Quality of historical signal analysis (25%)
- Practical framework development (25%)
- Presentation clarity (10%)
Time Investment: 3-4 hours
Value: Develops ability to match indicators to market conditions
Knowledge Check
Question 1 of 2MACD line is above the signal line (bullish), but the histogram bars are shrinking. What does this suggest?
- Gerald Appel "The Moving Average Convergence-Divergence Trading Method" (original)
- Thomas Aspray (MACD histogram developer)
- Welles Wilder "New Concepts in Technical Trading Systems" (ADX creator)
- Welles Wilder (SAR creator)
- Murphy, John "Technical Analysis of the Financial Markets"
- Achelis, Steven "Technical Analysis from A to Z"
For Next Lesson:
We continue with Bollinger Bands and volatility indicators—tools that measure market volatility and identify potential turning points. Lesson 11 covers volatility analysis.
End of Lesson 10
Total words: ~5,500
Estimated completion time: 50 minutes reading + 3-4 hours for deliverable
Key Takeaways
MACD combines trend and momentum
: The MACD line shows moving average relationship; the histogram shows rate of change. Both matter.
Zero line is significant
: MACD above zero = bullish environment. Below zero = bearish. Zero line crossings are more significant than signal line crossings.
Histogram warns early
: Shrinking histogram can signal trend exhaustion before crossover occurs. Watch the histogram for early warnings.
ADX measures trend strength
: High ADX = strong trend (use trend indicators). Low ADX = no trend (use oscillators). Match your tools to the environment.
No indicator works in all conditions
: Trend indicators fail in ranges; oscillators fail in trends. Know which environment you're in. ---