OPEN-SOURCE SCRIPT

RS Compare Indicator

Relative Strength Breakout is always a great indicator of change in trends. This indicator is a visual attempt to show the region of outperformance of a stock with respect to a sector or primary indicator.

The color indicated should read as below
1) Color Red: Indicates that the selected script is underperforming the indexing with which it is compared
2) Color Yellow: Indicates that the selected script is as per the indexing with which it is compared.
3) Color Green: Indicates that the script is outperforming the indexing with which it is compared.
educationalrelativestrength

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer