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

The CADXOnArray class is designed for calculating the average (Average Directional Movement Index) value on the ADX 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:
Test_ADXOnArray.mq5 is a sample indicator showing CADXOnArray class application. IncADXOnArray file must be placed in MQL5\Include\IncOnArray in the terminal data folder (IncOnArray folder must be created).
The CMAOnArray class in the IncMAOnArray file is required to work properly. Can be found here.
The Average Directional Movement Index technical indicator (ADX) helps determine whether a price trend is present. It turns out that it was Welles Wilder who elaborated and described "New Concepts in Technical Trading Systems" in his book.

Attachment download
📎 incmaonarray.mqh (5.07 KB)
📎 incadxonarray.mqh (4.88 KB)
📎 test_adxonarray.mq5 (3.82 KB)
Source: MQL5 #625
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •