Strategy Tester failing to run EA test

 

Hi, 

I'm having a problem with the strategy tester I'm hoping I can get some help with. I'm new at this, so I may be missing something really obvious. I've read a lot of data on this website but still can't see where my problem lies exactly.

I was trying to test a very simple MT5 EA using the "absolute strength averages" indicator provided by "mladen". But when I press start to run the EA, the test doesn't run in strategy tester.

In the journal I see the info which I pasted below. At first I thought I didn't save the indicator to the right file, or the EA failed to find it. But I can see the indicator in the MT5 Navigator Indicators file. Any tips would be greatly appreciated.

Cheers, Darren


2020.01.26 13:53:09.855 Tester expert file C:\Users\dazos\AppData\Roaming\MetaQuotes\Terminal\67381DD86A2959850232C0BA725E5966\MQL5\Indicators\Absolute Strength.ex5 open error [2]

2020.01.26 13:53:17.600 Core 1 program file Indicators\Absolute Strength.ex5 read error

2020.01.26 13:53:17.600 Core 1 loading of Absolute Strength EURUSD,H6 failed [557]

2020.01.26 13:53:17.600 Core 1 2019.01.01 00:00:00   Runtime error = 4802

2020.01.26 13:53:17.600 Core 1 tester stopped because OnInit returns non-zero code



 

Where did you get "Absolute Strength.ex5"?

The code base has "absolute_strength_-_averages.mq5",

https://www.mql5.com/en/code/16794

I'm just wondering if you have an old version.

Absolute Strength Averages
Absolute Strength Averages
  • www.mql5.com
Absolute strength of averages. It is upgraded to use the possible 18 types of averages in calculation. Signal lines are left in it since I think that it is very useful to see bulls and bears trends change. And signal lines do exactly that (an early warning of bulls and bears trend changes). Overall trend is still the cross of the main bulls and...
 
Dashoshea:

Hi, 

I'm having a problem with the strategy tester I'm hoping I can get some help with. I'm new at this, so I may be missing something really obvious. I've read a lot of data on this website but still can't see where my problem lies exactly.

I was trying to test a very simple MT5 EA using the "absolute strength averages" indicator provided by "mladen". But when I press start to run the EA, the test doesn't run in strategy tester.

In the journal I see the info which I pasted below. At first I thought I didn't save the indicator to the right file, or the EA failed to find it. But I can see the indicator in the MT5 Navigator Indicators file. Any tips would be greatly appreciated.

Cheers, Darren


2020.01.26 13:53:09.855 Tester expert file C:\Users\dazos\AppData\Roaming\MetaQuotes\Terminal\67381DD86A2959850232C0BA725E5966\MQL5\Indicators\Absolute Strength.ex5 open error [2]

2020.01.26 13:53:17.600 Core 1 program file Indicators\Absolute Strength.ex5 read error

2020.01.26 13:53:17.600 Core 1 loading of Absolute Strength EURUSD,H6 failed [557]

2020.01.26 13:53:17.600 Core 1 2019.01.01 00:00:00   Runtime error = 4802

2020.01.26 13:53:17.600 Core 1 tester stopped because OnInit returns non-zero code



Make sure that the indicator is really here "Indicators\Absolute_Strength.ex5".If it is in a sub-folder, use double back slash if you are calling it using iCustom. like this>

handle_icustom=iCustom(Symbol(),Period(),"Yourfolder\\absolute_strength.ex5");

Be case-sensitive.

 
Dashoshea:

Hi, 

I'm having a problem with the strategy tester I'm hoping I can get some help with. I'm new at this, so I may be missing something really obvious. I've read a lot of data on this website but still can't see where my problem lies exactly.

I was trying to test a very simple MT5 EA using the "absolute strength averages" indicator provided by "mladen". But when I press start to run the EA, the test doesn't run in strategy tester.

In the journal I see the info which I pasted below. At first I thought I didn't save the indicator to the right file, or the EA failed to find it. But I can see the indicator in the MT5 Navigator Indicators file. Any tips would be greatly appreciated.

Cheers, Darren


2020.01.26 13:53:09.855 Tester expert file C:\Users\dazos\AppData\Roaming\MetaQuotes\Terminal\67381DD86A2959850232C0BA725E5966\MQL5\Indicators\Absolute Strength.ex5 open error [2]

2020.01.26 13:53:17.600 Core 1 program file Indicators\Absolute Strength.ex5 read error

2020.01.26 13:53:17.600 Core 1 loading of Absolute Strength EURUSD,H6 failed [557]

2020.01.26 13:53:17.600 Core 1 2019.01.01 00:00:00   Runtime error = 4802

2020.01.26 13:53:17.600 Core 1 tester stopped because OnInit returns non-zero code



It would help to post that iCustom line here if it does'n work.

 
Nelson Wanyama:

It would help to post that iCustom line here if it does'n work.

Thanks for the help Guys. You were right about the subfolder !

It didn't seem to find Absolute strength averages in the subfolder. But after dropping it into the main "Indicators" folder (No subfolder) its running ok in the tester now. Thanks for the help, much appreciated. Its amazing how such small things can mess you around and cost you a lot of time. 

 
Anthony Garot:

Where did you get "Absolute Strength.ex5"?

The code base has "absolute_strength_-_averages.mq5",

https://www.mql5.com/en/code/16794

I'm just wondering if you have an old version.

I had both of them downloaded to test not knowing which was better for me. But I thought it was strange to see "Absolute Strength.ex5" instead of  "absolute_strength_-_averages.mq5" in the Journal ?  But I like the "Averages version" option has better  setting options.
 
Dashoshea:
I had both of them downloaded to test not knowing which was better for me. But I thought it was strange to see "Absolute Strength.ex5" instead of  "absolute_strength_-_averages.mq5" in the Journal ?  But I like the "Averages version" option has better  setting options.

absolute_strength_-_averages.mq5 and absolutestrenth_v2.mq5 come from different sources:

https://www.mql5.com/en/code/16794

and

https://www.mql5.com/en/code/1500


When I saw that you were using "Absolute Strength.ex5," it suggested that maybe you wanted version 2, or that your EA was expecting version 2. Anyway, glad you have it sorted.