OPEN-SOURCE SCRIPT

Relative Vigor Index

Here we are looking at a trend strength indicator based on the Relative Vigor Index(RVI). The RVI measures trend strength by comparing the open-close and high-low ranges for the current and three most recent periods. As a zero-centered oscillator, the RVI oscillates above and below zero to signal the strength of the trend.

As there are different ways to interpret the RVI, we have included 3 different modes for traders to choose from in the input option menu:

1. Zero-Crossing:
The RVI Histogram will turn green when it crosses above zero and red when it crosses below. Therefore, a green RVI means the trend is bullish and red means bearish. This mode is better for longer-term swing trading in comparison to the other 2 modes.

2. Increasing / Decreasing:
The RVI histogram will turn green when it is increasing(rvi >= rvi[1]) and red when it is decreasing. A green RVI is viewed as a bullish signal and red means bearish. This mode is a good middle-ground between the Zero-Crossing and Signal Comparison modes.

3. Signal Comparison:
Here, the RVI is compared to its signal line. If the RVI is greater than its signal line, the histogram is green, indicating a bullish trend, while red means bearish. This mode is preferred for scalping.


Hope everyone finds this one useful!

You can check out our other invite only studies/strategies at our website: profitprogrammers.com
BTCBTCUSDCentered OscillatorsrelativevigorindexRelative Vigor Index (RVGI)RVItrendstrengthxbtXBTUSD

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?


-Profit Programmers
profitprogrammer.com
Também em:

Aviso legal