PROTECTED SOURCE SCRIPT

Relative Rotation - RRG JdK RS-Ratio & RS-Momentum

22
This indicator calculates the JdK RS-Ratio and RS-Momentum, which form the basis of Relative Rotation Graphs (RRG). It compares the performance of any asset against a benchmark (default: SPY) to identify the current RRG quadrant: LEADING, WEAKENING, LAGGING, or IMPROVING.

The RS-Ratio (red line) and RS-Momentum (green line) are plotted around a baseline of 100. The background color indicates the current quadrant, and an optional feature allows coloring chart candles based on the RRG phase.

Alerts can be configured to notify when the asset transitions between quadrants, helping traders identify rotational shifts in relative strength.

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.