As frustrated as I have been teaching myself enough C++ to migrate my
EA from MT4 to MT5, I really like the new platform...especially the
Strategy Tester. Remote agents ROCK!
But I have not been able to get the Automatic Optimization working.
Can anyone tell me if this works in MT5? If so, could you please
provide a sample [Tester] section of your configuration file?
Here is what I am using...
I have tried with and without the "ExpertParameters" line.
Can someone tell me what I am missing?
We've made a lot of changes and fixes.
Please, wait a little. I think you will be able to try using automatic optimization with the next build.
Thanks for your reply. I am also quit interresed by this subject.
Can you please tell me if :
1. there is an availiable public roadmap plan (next realse date, build, bug fix ...).
2. Do you have also kind of documentation about automatic optimization. What is the concept/logic? How does it works?
Actually, after a lot of trial and error, I was able to get automatic optimization to work. The problem with my [Tester] file was that I needed to specify the path to the EA:
...and "ExpertParameters" is missing from the MT5 documentation...go to the MT4 Help Guide to see the description.
Now I'm running into problems with the code that will analyze the results. It appears that Sleep() does not pause execution and the FileIsExist() function always returns true, if the file exists or not.
Have seen section "MetaTrader 5 Help → Getting Started → Terminal Start → Additional Parameters"?
Settings of the testing that is launched when the terminal is started:
Yes...this is where the "ExpertParameters" section has been removed...from the MT4 documentation:
I got my new release yesterday...Sleep() is working...IsFileExists() was my programming error.
I am having problems with duplicating the results of the Optimization Results. If I change my inputs to what the Optimization Results has, I get something completely different. For example: optimize tester shows a profit and running the EA with the same settings in a single test run gives me a loss.
Should I be able to duplicate the Optimization Results in the expert testing in a single setting single pass test? I would think that I should be able to, or what is the point of testing in the optimization mode.
I do not have any code like what is listed above. I am a new programmer as well, so I have some questions about the above code. Do I need the above code somewhere in my EA to run Optimization - Fast genetic based algorithm and be able to duplicate the results? If not, then could get I some info about what the above code is for in an EA?
Yes, you are right. Result of single pass must be the same as in optimization pass.
Please make sure that:
If you are getting a different results of single pass and optimization pass you better write to servicedesk. Please do not forget to attach logs of tester and agents, source code of your EA and description of results.