Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

IncRVIOnArray - MetaTrader 5 Library | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

IncRVIOnArray - library for MetaTrader 5

The CRVIOnArray class is designed to calculate the (Relative Vitality Index) value on the RV Index indicator buffer.

The method OnInit( ) function with the following parameters is called in the initialization( ) function:

The method OnCalculate() is called with the following parameters in the resolve() function:

Additional methods:

Test_RVIOnArray.mq5 is a sample indicator showing CRVIOnArray class application. The IncRVIOnArray file must be placed in MQL5\Include\IncOnArray in the terminal's data folder (the IncOnArray folder must be created).

The CMAOnArray class in the IncMAOnArray file is required to work properly. Can be found here .

The main idea is that the Relative Vigor Index technical indicator (RVI) means that in a bull market, the closing price is usually: higher than the opening price. The opposite is true in a bear market. So the idea behind the Relative Vigor Index is that the vigor or energy of a move is determined by where the price ends up at the close.

IncRVIOnArray - library for MetaTrader 5


Attachment download

📎 incmaonarray.mqh (5.07 KB)

📎 incrvionarray.mqh (4.02 KB)

📎 test_rvionarray.mq5 (3.64 KB)

Source: MQL5 #654

Verification code Refresh