Download MetaTrader 5

Custom indicator not loading in EA

To add comments, please log in or register
eadamski
99
eadamski  

Hi all,

Trying to get a custom indicator to load in an EA, but keep getting Error Message. This note only shows up in the journal after I open the chart, but I know the indicator is not working during the test. The custom indicator has no problem working when attached to the chart on its own.

File folders

Everything seems to be correct on the terminal. They have both been compiled, they are in the correct folders. The paths and the names are correct. I have read the reference material several times. I have checked to allow DLL imports just to make sure. I can't figure out what is going on.

#resource                  "\\Indicators\\CustomATR.ex4" 

...

 {

   return iCustom(_Symbol,_Period,"::Indicators\\CustomATR.ex4",ATRPeriod,0,_Index);

  }

Does anyone have any ideas how to fix this? Any help would be appreciated.

I am using Windows 10, MT4 build 1065.

Payungsak Kongsila
17
Payungsak Kongsila  
I am using Windows 10, MT4 build 1065 too. my ea and custom indicator not working. Please help
Fedor Arkhipov
22830
Fedor Arkhipov  
try to compile indicator, perhaps some errors
To add comments, please log in or register