OPEN-SOURCE SCRIPT

Adaptive and Static Relative Strength Overlay

This indictor combines adaptive and static relative strengths and displays the strength in a unique colour coding on the bars.
With this the one can view the performance of both the relative strengths in one indicator and overlay-ed on the price chart.

Adaptive Relative Strength - Date is identified based on market scenarios. It will change based on how the market trends in the future.
Static Relative Strength - Date is fixed (123 sessions). Roughly corresponds to 6 months.

The (default) colour coding is:
If "Both" is selected:
ars > 0 and srs > 0 = Blue
ars <=0 and srs <= 0 = Maroon
Orange otherwise (Any of ars or srs is negative)
If "Only ARS" is selected:
ars > 0 = Blue
Maroon otherwise
If "Only SRS" is selected:
srs > 0 = Blue
Maroon otherwise

Additionally the ARS and the SRS will be marked as labels on the bars corresponding to the reference dates.
The current ARS and SRS values will be market as label on the last bar.
Source can be any valid source, close is selected by default.
Default benchmark is "Nifty 50" the NSE Indian benchmark. This can be changed.
adaptiverelativestrengthrelativestrengthTrend Analysis

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?


Também em:

Aviso legal