You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I'm a newbie and trying to use automated optimization explained in 'Automated Optimization of a Trading Robot in Real Trading' article. It seems to work when I use the EA in demo mode but I doesn't work as I expect in the testing mode. I noticed that the Tester is supposed to be called when the EA is not in the testing mode so I commented out the check for testing mode in the following line of code.
if(!IsTesting() && !IsOptimization())
changed to:
if(/*!IsTesting() && */!IsOptimization())
What I see is that the tester doesn't wait for the optimization process to finish. I wonder if there is a bug in my code or it is just a conceptual conflict where the tester cannot work with the optimizer because their process time range are different. I tried changing the timeout but it didn't help. I'd appreciate if you could shed a light on how to strategy test an EA with automated optimization feature.