PROTECTED SOURCE SCRIPT

DaMaster RSI Divergences

21
DaMaster RSI Divergence Indicator

The DaMaster RSI Divergence Indicator automatically detects regular and hidden RSI divergences to help identify momentum reversals and trend continuations. Divergences are plotted directly on the RSI using clear labels and color-coded lines.

Features

  • Regular Divergences
  • Bullish: Price lower low + RSI higher low
  • Bearish: Price higher high + RSI lower high
  • Hidden Divergences
  • Hidden Bullish: Price higher low + RSI lower low
  • Hidden Bearish: Price lower high + RSI higher high


Visuals


  • RSI with user-defined period
  • RSI Moving Average
  • 70/30 overbought–oversold levels
  • Divergence lines and labels on the RSI pane


Alerts

Alerts fire instantly on detection:
  • Bullish / Hidden Bullish
  • Bearish / Hidden Bearish


Inputs

*RSI length & source
*RSI MA length
*Left/Right pivot lookbacks
*Enable/disable each divergence type

This indicator is designed for reversal traders, trend-followers, and anyone who relies on RSI structure for confirmation.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.