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

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

author EAcpu | 5 reads | 0 comments |

IncCHVOnArray - library for MetaTrader 5

The CCHOOnArray class is used to calculate the indicator (CHV) on the buffer of the Chaikin Volatility indicator.

This initialize() indicator function calls the OnInit() method with the following parameters:

This solve() function calls the OnCalculate() method with the following parameters:

Additional methods:

The Test_CHVOnArray.mq5 file is an indicator of how to use the CCHVOnArray class. The IncCHVOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).

The Chaikin Volatility indicator calculates the spread between the highest price and the lowest price. It determines the magnitude of volatility based on the amplitude between the maximum and minimum values. Unlike Average True Volatility , the Chaikin indicator does not take into account gaps.

IncCHVOnArray - library for MetaTrader 5


Attachment download

📎incchvonarray.mqh (3.09 KB)

📎 incmaonarray.mqh (5.28 KB)

📎 test_chvonarray.mq5 (2.86 KB)

Source: MQL5 #671

Verification code Refresh