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

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

author EAcpu | 4 reads | 0 comments |

InCADOnArray - library for MetaTrader 5

The CADOnArray class is designed to calculate (cumulative distribution, A/D) values ​​on an advertising metric buffer.

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

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

Additional methods:

Test_ADOnArray.mq5 is a sample indicator application showing the CADOnArray class. InCADOnArray files must be placed in the MQL5\Include\IncOnArray terminal data folder (the IncOnArray folder must be created).

The Accumulation/Distribution (A/D) technical indicator is determined by changes in price and volume. Volume acts as a weighting coefficient for price changes - the higher the coefficient (volume), the greater the contribution of price changes (over the period) to the indicator value.

InCADOnArray - library for MetaTrader 5


Attachment download

📎 incadonarray.mqh (4.63 KB)

📎 test_adonarray.mq5 (2.82 KB)

Source: MQL5 #669

Verification code Refresh