OPEN-SOURCE SCRIPT

RSI_RD

68
RSI_RD - RSI Divergence Detector (Ryan DeBraal)
This script plots a standard RSI along with advanced automatic divergence detection.
It identifies four types of divergences using pivot logic and configurable
lookback windows. Signals appear directly on the RSI line as plotted marks and labels.

FEATURES
- Standard RSI with user-defined length and source.
- Midline (50), overbought (70), and oversold (30) levels with shaded background.
- Automatic detection of:
• Regular Bullish Divergence
• Regular Bearish Divergence
• Hidden Bullish Divergence
• Hidden Bearish Divergence
- Each divergence type can be toggled on/off individually.
- Pivot-based detection using left/right lookback lengths.
- Range filter (bars since pivot) to avoid stale or invalid divergences.
- Colored markers and labels placed exactly on pivot points.
- Alerts for all four divergence conditions.

PURPOSE
This indicator makes RSI divergence trading systematic and visual.
It highlights when price action disagrees with RSI momentum — often signaling
exhaustion, reversal setups, or continuation opportunities depending on the divergence type.
Ideal for combining with trend filters, VWAP, or ORB structures.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.