RS-Magic

Short & Long Relative Strength

Relative Strength (RS) is a method of identifying stocks which are relatively stronger or weaker as compared the market as a whole or to a relevant benchmark.

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.

The value of RS Indicator oscillates around zero. If value of RS is above ZERO then security is outperforming the benchmark and if value of RS is below ZERO then security is outperforming the benchmark.

Here i have used two RS indicator lines in one indicator - Short Term RS (default value is 65) and Long Term RS (default value is 123).

I have set default benchmark index as Nifty 50 (NSE:NIFTY)
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?