PROTECTED SOURCE SCRIPT
Divergence Detector

๐ Divergence Detector โ Pine Script Indicator
๐ฏ Purpose
Detects bullish/bearish divergences between price and:
Divergences signal potential trend reversals.
โจ Features & Advantages
โ Multi-Indicator Analysis โ checks 3 oscillators simultaneously.
โ Customizable Filters โ min. divergence length & distance between signals.
โ Clean Visuals โ colored lines + labels for clarity.
โ Alerts โ get notified when divergences appear.
โ๏ธ Settings
๐น General
๐น Indicators
WaveTrend:
RSI: Length (14)
Stochastic:
๐น Colors & Style
๐ How to Use?
1. Bullish Divergence ๐ข:
2. Bearish Divergence ๐ด:
3. Alerts โ enable in TradingView.
โ ๏ธ Limitations
โ False signals โ not every divergence leads to a reversal.
โ Lagging โ pivot-based detection delays signals.
โ Chart clutter โ too many lines if unchecked.
๐ก Pro Tips
โ Combine with support/resistance levels.
โ Avoid using alone on low timeframes (M1-M15).
โ Adjust settings for your trading style (e.g., increase Min Divergence Length for daily charts).
โค๏ธ Support This Project
If you find this indicator helpful and want to support future developments, donations are appreciated at:
USDT (TRC20): THFFLEZSpTqapYF6oj9rmuTCQVUXvuz7VS
Your generosity helps maintain and improve free indicators for the trading community!
๐ฏ Purpose
Detects bullish/bearish divergences between price and:
- ๐ WaveTrend
- ๐ RSI (Relative Strength Index)
- ๐ Stochastic Oscillator
Divergences signal potential trend reversals.
โจ Features & Advantages
โ Multi-Indicator Analysis โ checks 3 oscillators simultaneously.
โ Customizable Filters โ min. divergence length & distance between signals.
โ Clean Visuals โ colored lines + labels for clarity.
โ Alerts โ get notified when divergences appear.
โ๏ธ Settings
๐น General
- Pivot Lookback (15) โ pivot detection depth.
- Max Bars to Look Back (50) โ limits divergence search range.
- Min Divergence Length (6) โ avoids noise.
- Min Distance Between Signals (10) โ prevents signal overcrowding.
๐น Indicators
WaveTrend:
- Channel Length (9)
- Average Length (12)
- MA Length (3)
RSI: Length (14)
Stochastic:
- Length (14)
- K Smoothing (3)
๐น Colors & Style
- Bullish (๐ข Green)
- Bearish (๐ด Red)
- Line Width (2)
- Show Labels (ON/OFF)
๐ How to Use?
1. Bullish Divergence ๐ข:
- Price โ Lower Lows | Oscillator โ Higher Lows = Potential UP reversal.
2. Bearish Divergence ๐ด:
- Price โ Higher Highs | Oscillator โ Lower Highs = Potential DOWN reversal.
3. Alerts โ enable in TradingView.
โ ๏ธ Limitations
โ False signals โ not every divergence leads to a reversal.
โ Lagging โ pivot-based detection delays signals.
โ Chart clutter โ too many lines if unchecked.
๐ก Pro Tips
โ Combine with support/resistance levels.
โ Avoid using alone on low timeframes (M1-M15).
โ Adjust settings for your trading style (e.g., increase Min Divergence Length for daily charts).
โค๏ธ Support This Project
If you find this indicator helpful and want to support future developments, donations are appreciated at:
USDT (TRC20): THFFLEZSpTqapYF6oj9rmuTCQVUXvuz7VS
Your generosity helps maintain and improve free indicators for the trading community!
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had โ ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had โ ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.