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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


-Profit Programmers
profitprogrammer.com
Мои профили:

Отказ от ответственности