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

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.

Attachment download
📎 incadonarray.mqh (4.63 KB)
📎 test_adonarray.mq5 (2.82 KB)
Source: MQL5 #669
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •