nikhil9999

Relative Strength Universal



Relative strength is a ratio between two assets, generally it is a stock and a market average (index). RS implementation details are explained here.

This script automatically decides benchmark index for RS calculation based on market cap input values and input benchmark indices values.

Relative strength calculation:
"To calculate the relative strength of a particular stock, divide the percentage change over some time period by the percentage change of a particular index over the same time period". This indicator value oscillates around zero. If the value is greater than zero, the investment has been relatively strong during the selected period; if the value is less than zero, the investment has been relatively weak.

In this script, You can input market cap values and all are editable fields. If company market cap value is grater than 75000(Default value) then stock value will be compared with Nifty index. If company market cap is between 75000 and 25000 then stock value will be compared with midcap 150 to calculate RS. If marketcap is greater than 5000 and less than 25000 then RS will be calculated based on smallcap250. If marketcap is less than 5000 and greater than 500 then it will be compared with NIFTY_MICROCAP250
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?