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

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

author EAcpu | 2 reads | 0 comments |

IncVHFOnArray - library for MetaTrader 5

The CVHFOnArray class is designed to calculate the (VHF) value on the vertical and horizontal filter indicator buffer.

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

Call the Solve() method OnCalculate() function with the following parameters:

Additional methods:

Test_VHFOnArray.mq5 is a sample indicator showing the application of CVHFOnArray class. The IncVHFOnArray file must be placed in the terminal data folder MQL5\Include\IncOnArray (the IncOnArray folder must be created).

Vertical Horizontal Filters (VHF) shows the current market stage: trending or flat. It was first described in 1991 by A. White.

IncVHFOnArray - library for MetaTrader 5


Attachment download

📎 incvhfonarray.mqh (2.71 KB)

📎 test_vhfonarray.mq5 (2.48 KB)

Source: MQL5 #633

Verification code Refresh