Expert optimization is failing after some passes - page 2

 
lucasvg:

I also couldnt update to this build 2009. I`m using ICMarkets server. Where do you download it, @lippmaje?

from this site
 

@lippmaje I'm sorry, but I literally cannot find any info about a MT5 Build 2009 version. Could you please provide me a link?

Ty very much.

 
Use the download link from this site to install MT5 then let it update itself to v2009. Also, ask/nag your broker to give you a release newer than 2007.
 

I noticed it also fails when you test with a foreign currency, like USD on an EUR account.

2019.04.10 23:13:56.742	Core 1	EURUSD : 2019.03.01 00:00 - 2019.04.01 00:00  real ticks absent for 18 minutes of 29927 total minute bars, every tick generation used
2019.04.10 22:59:58.856 Core 1  old tick EURUSD 2019.03.29 19:47:54 (2019.03.29 22:58:57)
... (repeats for every tick)
2019.04.10 22:59:58.856 Core 1  old tick EURUSD 2019.03.29 22:58:56 (2019.03.29 22:58:57)
2019.04.10 22:59:58.856 Core 1  final balance 10003.41 EUR

From here all optimisations fail again.

2019.04.10 23:14:39.382 Core 1  pass 1 tested with error "task rejected by tester agent" in 0:00:00.000
2019.04.10 23:14:39.382 Core 1  pass 2 tested with error "task rejected by tester agent" in 0:00:00.000
2019.04.10 23:14:39.382 Core 1  pass 3 tested with error "task rejected by tester agent" in 0:00:00.000
...

I didn't find a fix for this. It appears with Builds 1995 and 2007. The only way to avoid these errors is to test with an account in native currency. That is USD account for USD quoted symbols etc.


To sum it all up:

To avoid this problem with failed optimisation runs you need to have these workarounds in place:

  1. Use ExpertRemove() to unload your EA from the test agent before the testing period ends. You can use the fix I mentioned above in #4. Check the log for *** Wacky Tester Fix ***, if it does not occur adjust the date.
  2. Keep your test account currency identical to the currency of the symbol you trade.
Reason: