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.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.