Divergence detection is crucial in predicting market reversals. A bullish divergence (D+) appears when the price makes lower lows, but the MACD forms higher lows, signaling a potential uptrend. Conversely, a bearish divergence (D-) occurs when the price makes higher highs, but the MACD forms lower highs, indicating a possible downtrend.
You can download ti from this link:
https://cdn.tradingfinder.com/file/4...5_by_tflab.zip
MACD Divergence Indicator Overview
- Category: Oscillator - Signal & Forecast
- Platform: MetaTrader 5
- Skill Level: Beginner
- Indicator Type: Reversal - Non-Repainting
- Timeframe: Multi-timeframe
- Trading Style: Suitable for all trading styles
- Trading Instruments: All Markets
MACD Divergence in Action – Silver (XAGUSD) 15-Minute Chart
The 15-minute Silver (XAGUSD) price chart illustrates two key divergence scenarios:
- At Point (A): The latest low is lower than the previous low (LL), but the MACD displays a bullish divergence. This results in a trend reversal from downtrend to uptrend.
- At Point (B): The latest high is higher than the previous high (HH), but a bearish divergence appears on the MACD, leading to a downtrend reversal.
Buy and Sell Signals from MACD Divergence
Uptrend Confirmation – Gold (XAUUSD) 5-Minute Chart
In the 5-minute Gold (XAUUSD) price chart, the MACD Divergence Indicator identifies a bullish divergence at the end of a downtrend and issues a BUY signal.
Buy Signal: Traders can seek additional confirmation (trigger) using classical or modern analysis before entering long (buy) positions.
Downtrend Confirmation – Texas Oil (WTI) 15-Minute Chart
In the 15-minute WTI crude oil chart, the MACD Divergence Indicator detects a bearish divergence at the end of an uptrend and issues a SELL signal.
Sell Signal: Traders should confirm the signal using their preferred analytical style before entering short (sell) positions.
MACD Divergence Indicator Settings
The MACD Divergence Indicator can be customized with the following parameters:
- Fast EMA Period: 12-period Exponential Moving Average (EMA)
- Slow EMA Period: 26-period Exponential Moving Average (EMA)
- Signal SMA Period: 9-period Simple Moving Average (SMA) (Signal Line)
- Applied Price: Indicator calculations are based on the closing price
- Pivot Calculation: Uses 8 candles for pivot detection
- Pivot Distance:
- Max Distance: 30
- Min Distance: 5
- Divergences from Pivot: At least 1 divergence per pivot
- MACD Breaks: 8 MACD lines must break
- Shift: Set to 2
- Sell Divergence Color: Pink (or customizable)
- Buy Divergence Color: Blue (or customizable)
- Divergence Line Width: 2
Summary
Divergences play a critical role in major trend reversals. They occur when price movements and indicator behavior diverge, signaling a potential change in trend direction.
The MACD Divergence Indicator simplifies divergence detection, eliminating manual analysis errors. By integrating this automated tool, traders can efficiently spot trend reversals and continuations, making it a valuable asset in any trading strategy.