2618 views
I am publising Relative Strength Comparative.
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:
1) Check Relative Strength
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
// relative strength 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))
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:
1) Check Relative Strength
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
// relative strength 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))
Release Notes:
Added a Green Dot on the RS for the 233 week high and Red Dot for the 233 week Low. This adds more intelligence to the RS line.
Comments
Thanks for sharing this code, had been looking for this for a quick peak of RS.
I tried to change the comparatively symbol to SPY or other stock code, curve is updated but the score remains the same. do you know why? Thank!!!
Tommy
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 :)
Thank you for sharing this. Can it be happen that relative strength value be over 100? I don't believe so but I found some stocks showing RS rating above 100.
For example, the value of $MVIS shows 105 as of Jan 7th, and $EDIT's shows 107. Thank you!
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?
Thanks,
Sudhakar