It is be used to compare a Stock's Performance against another stock/index (Default NIFTY50)
I also devised a Plot RS Rating which is inspired from IBD's RS Rating and matches to some extent. You can turn off/on the RS Rating as per need.
Example: ITC vs NIFTY 50 it will be ITC / NIFTY
The Indicator can be used in Multiple ways:
2) Check RS Rating (This is not Accurate as of now since IBD compares the ratings of all the stocks in an Exchange)
3) Can be used as a Spread Chart for the Division (We need to not divide every time we change Stocks)
4) Design a Template exactly as MarketSmith by using the TradingView feature of "Move to --> Existing Pane Above"
The Formula i used for RS Rating is below with more weightage on the 3 month performance and lesser on 12 month Performance. I am open to Modification of this Formula if a better suggestion
// IBD style
ThreeMthRS = 0.4*(close/close)
SixMthRS = 0.2*(close/(close*2))
NineMthRS = 0.2*(close/(close*3))
TwelveMthRS = 0.2*(close/(close*4))
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 a publication is governed by House Rules. You can favorite it to use it on a chart.
My observation is my indicator is Similar to IBD ratings for the 80-95 Range. There will be stocks above 100 as well and this will show how bullish they are :)
Can comparative relative strength value be zero or below zero? if yes then on the indicator, kindly request you to show zero line, it will help us to identify easily.
Also I would like to know what are green and red values - is it 233 weeks high price and 233 weeks low price? And what is 0.01 value in the indicator label?