OPEN-SOURCE SCRIPT

IT-Dual Relative Strength

Atualizado
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.
Notas de Lançamento
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
Notas de Lançamento
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 de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal