How to access a Custom Indicator in a EA?

 

Hello,

I curriently use the standard MT4 ADX indicator in my charts and access the same values in my EA using the command iADX(NULL,0,ADX14,0,0,1).

I'd like to replace this ADX with a Custom Indicator ADX_WildersDMI.

How can I accessing the values of this Custom Indicator, replacing the old command iADX(NULL,0,ADX14,0,0,1)?

How do you include and access Custom Indicators in EA?


Any tips and tricks are welcome.

Thanks

 
JuergZimmermann:

Hello,

I curriently use the standard MT4 ADX indicator in my charts and access the same values in my EA using the command iADX(NULL,0,ADX14,0,0,1).

I'd like to replace this ADX with a Custom Indicator ADX_WildersDMI.

How can I accessing the values of this Custom Indicator, replacing the old command iADX(NULL,0,ADX14,0,0,1)?

How do you include and access Custom Indicators in EA?


Any tips and tricks are welcome.

Thanks


https://docs.mql4.com/indicators/iCustom
 

Thanks. I missed that one in the Reference manual.....
Reason: