OPEN-SOURCE SCRIPT

SCOTTGO - RSI Divergence Indicator

149
RSI Divergence Indicator
This indicator combines the Relative Strength Index (RSI) with an automatic divergence detection system.

It is designed to help traders spot potential trend changes by:

Color-Coded RSI: The main RSI line dynamically changes color (e.g., green/red) above and below a user-defined threshold (default 50) to highlight strong or weak momentum instantly.

Divergence Signals: It automatically identifies and plots four types of RSI divergences (Regular Bullish, Hidden Bullish, Regular Bearish, and Hidden Bearish) between the price and the oscillator.

Custom Alerts: Includes alerts for all divergence types so you can be notified when a new signal is found.

This tool helps visualize momentum shifts and potential reversals in the market.

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.