Strategy Tester is not working in MT4!

1,274 views
Skip to first unread message

YUKUN ZHAO

unread,
Feb 10, 2014, 1:32:58 PM2/10/14
to adaptrad...@googlegroups.com

When I tried to run strategies test through MT4 (version:built 600) which build by AB1.6.1 , none of them was working! The journal of MT4 record:Cannot call 'AdaptradeBuilderLib.ex4::DayLow', 'AdaptradeBuilderLib.ex4' is not loaded,as shown below. Actually,I have copied AdaptradeBuilderLib.ex4 to MetaTrader 4\experts\libraries,AdaptradeBuilderInclude.mqh to MetaTrader 4\experts\include as well.

My system is WIN7-64


Fadi Al Khoury

unread,
Feb 11, 2014, 3:07:48 AM2/11/14
to adaptrad...@googlegroups.com
I have the same problem. Actually, in build 600 the place to put EAs is in the MQL4 folder. I did that but still have the same problem as you. Maybe the ex4 library has to be recompiled to work with the newer metatrader.

Michael R. Bryant

unread,
Feb 11, 2014, 3:39:54 PM2/11/14
to adaptrad...@googlegroups.com

The new version of MT4 (build 600 or newer) seems to use a very odd method of storing include and expert files. Here is where I found the include file on my computer:

 

C:\Users\Mike\AppData\Roaming\MetaQuotes\Terminal\C8D8BA7A4013CAEFBAC495670A9B98E4\MQL4\Include

 

Likewise for experts:

 

C:\Users\Mike\AppData\Roaming\MetaQuotes\Terminal\C8D8BA7A4013CAEFBAC495670A9B98E4\MQL4\Experts

 

You need to look for the (apparently) randomly-generated folder in MetaQuotes\Terminal\ under the AppData\Roaming\ folder in your Users folder. That’s where you should put the library and include files needed by Builder. If you put them in the corresponding folders in Program Files (x86), MT4 will not find them. Don’t ask me why they changed this or chose this approach. It makes no sense to me.

 

Mike Bryant

 

Subject: Re: Strategy Tester is not working in MT4!

Vladimir

unread,
Mar 13, 2014, 12:49:59 AM3/13/14
to adaptrad...@googlegroups.com
Hi Mike, i have same problem.
I've installed new MT4 terminal, have placed 'AdaptradeBuilderLib.ex4' to C:\Users\Студент5\AppData\Roaming\MetaQuotes\Terminal\F8B0CF1E1FEED3B00D2D7E193237B799\MQL4\Experts and AdaptradeBuilderInclude.mqh to C:\Users\Студент5\AppData\Roaming\MetaQuotes\Terminal\F8B0CF1E1FEED3B00D2D7E193237B799\MQL4\Include
But when i start testing in MT4...

It's seems to be a problem with MT4 cuz it start after update to build 600 + higher


вторник, 11 февраля 2014 г., 0:32:58 UTC+6 пользователь YUKUN ZHAO написал:

Michael R. Bryant

unread,
Mar 13, 2014, 3:56:41 AM3/13/14
to adaptrad...@googlegroups.com

Did your strategies re-compile ok? If so, I don’t know what the problem could be. If you haven’t re-compiled them, you should do that. Provided you can find the library and include files when you select “Open Data Folder” from the File menu, it should work as well for you as it does for me. Here is the link from MT4 about this:  http://forum.mql4.com/60555

 

Mike Bryant

 

Subject: Re: Strategy Tester is not working in MT4!

 

Hi Mike, i have same problem.


I've installed new MT4 terminal, have placed 'AdaptradeBuilderLib.ex4' to C:\Users\Студент5\AppData\Roaming\MetaQuotes\Terminal\F8B0CF1E1FEED3B00D2D7E193237B799\MQL4\Experts and AdaptradeBuilderInclude.mqh to C:\Users\Студент5\AppData\Roaming\MetaQuotes\Terminal\F8B0CF1E1FEED3B00D2D7E193237B799\MQL4\Include
But when i start testing in MT4...

Image removed by sender.

image001.jpg

YUKUN ZHAO

unread,
Mar 20, 2014, 6:57:27 AM3/20/14
to adaptrad...@googlegroups.com
It takes me days to find the final solution....
The strategy MQ4 files need to be compiled by older version MT4, such as BUILT 500+,400+,then copy them to the new version MT4(BUILD 600+), ALL DONE!

在 2014年3月13日星期四UTC+8下午12时49分59秒,Vladimir写道:
Reply all
Reply to author
Forward
0 new messages