I'm trying to test and optimize EA's, is there a way to make testing EA's on historical data automatic?
What I want is a script (or anything else) that will run my test repeatedly with different parameters.
For exaplme that I would specify a list of parameteres and run the testing during the night without having to set the parameters and pressing the start button each time.
I've searched for some time and didn't find anthing. Asked on other forums with no responce.
Thank you very much!
https://www.mql5.com/en/articles/1467. Hey RaptorUK, are you using a process similar to this one or something else?
Something else . . . it's all explained in the MT4 Help . . . search for "Configuration at Startup"
I set the parameters for my EA, save a set file. I then create an txt file which specifies this set file, amongst other things, false login & password to keep the terminal offline the name of the EA, the Symbol, Period, start and end dates and a report name . . . then I have a batch file that runs the terminal with this txt file . . .
start /wait terminal.exe EURJPY.txt
I can have multiple lines like this in the batch file . . . so I can set several runs to occur overnight . . .
But looks only for predetermined sets.
Thanks for this tip.
It works on my system, but only for one file: MetaTrader is started, the backtest is run, but then this first instance of MetaTrader stays alive and the second line of the batch script is never executed. I.e. it seems that the system waits forever until the process started in the first line comes to an end.
Is there a solution to this problem?
What do you have in the file that you pass to MT4 ? This is mine . . notice the TestShutdownTerminal=true
; common settings
; start strategy tester