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

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

author EAcpu | 4 reads | 0 comments |

InCADXOnArray - library for MetaTrader 5

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.

InCADXOnArray - library for MetaTrader 5


Attachment download

📎 incmaonarray.mqh (5.07 KB)

📎 incadxonarray.mqh (4.88 KB)

📎 test_adxonarray.mq5 (3.82 KB)

Source: MQL5 #625

Verification code Refresh