OPEN-SOURCE SCRIPT

IT-Dual Relative Strength

Mis à jour
One can use this indicator to compare two security i.e. (Nifty and stock with its own sector) how it is performing in compare with preferred index ( Nifty 50 by default).
> 0 outperforming
< 0 underperforming

Works best for Daily TF, but can be applied to Weekly and monthly charts .
Can be use on smaller time frame as well, as per the number of hour you want to calculate.
Apply it to Nifty 50 , industry index, sector index or other security in similar sector

I have Added the Box table as well which shows the performance agents Nifty and selected sector.
Notes de version
This is the upgraded version for IT-Dual Relative Strength with same name but V2.0

One can use this indicator to compare two security i.e. ( Nifty and stock with its own sector) how it is performing in compare with preferred index ( Nifty 50 by default).
> 0 outperforming
< 0 underperforming

Works best for Daily TF, but can be applied to Weekly and monthly charts .
Can be use on smaller time frame as well, as per the number of hour you want to calculate.
Apply it to Nifty 50 , industry index, sector index or other security in similar sector

I have Added the Box table as well which shows the performance agents Nifty and selected sector.

Release Notes:
Added toggle color option on crossovers
Fixed bug on label display, even when plot option was disabled
Notes de version
In addition to the existing RS behavior, it is now possible to superimpose price-action behavior on the RS line.
As per existing RS, RS above zero indicates outperformance/strength over the selected benchmark and RS below zero indicates underperformance/weakness over the selected benchmark for the selected period.

Added length of SMA/EMA for RS is 9
dualRelative Strength Comparison

Script open-source

Dans le plus pur esprit 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 nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité