Please help me anybody. I created my first EA in MQ5. It seems to me my EA is working fine in real time but if I want use strategy tester i get such shit:
2010.06.18 19:12:02 Tester Loading of C:\Program Files (x86)\MetaTrader 5\MQL5\Experts\new.ex5 failed
Hi Joke,
Did you compile your code before loading it in the Strategy tester? If you don't compile before loading it in the Strategy tester, you will get error.
Also I observed you created your Indicator handles twice, (in the OnInit() and OnTick() functions). Any reason why you are doing it that way or is it an oversight?
I think you should only do it once in the OnInit() function!
Take care.
Hi Joke,
Did you compile your code before loading it in the Strategy tester? If you don't compile before loading it in the Strategy tester, you will get error.
Also I observed you created your Indicator handles twice, (in the OnInit() and OnTick() functions). Any reason why you are doing it that way or is it an oversight?
I think you should only do it once in the OnInit() function!
Take care.
Thank you!
After Compilation everything works!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Please help me anybody. I created my first EA in MQ5. It seems to me my EA is working fine in real time but if I want use strategy tester i get such shit:
2010.06.18 19:12:02 Tester Loading of C:\Program Files (x86)\MetaTrader 5\MQL5\Experts\new.ex5 failed