Hi,
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!
Josef
Hi,
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!
Josef
Read the MT4 Help, it's all in there under the stuff about the Strategy Tester, you can use batch files and set files to setup a run of tests, the only thing I haven't been able to do is run this in visual mode at max speed . . . non visual mode worked just fine.
https://www.mql5.com/en/articles/1467. Hey RaptorUK, are you using a process similar to this one or something else?
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 . . .
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 . . .
Cool Thx.
Cool Thx.
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 . . .
Nice!!!
At the first time I think jozin look for something like this:https://www.mql5.com/en/forum/140187
But looks only for predetermined sets.
=)
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 . . .
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?
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 Login=12345 Password=xxxxxx ; start strategy tester TestExpert=TradeEA-BackupV1.7.8 TestExpertParameters=178opt.set TestSymbol=EURUSD TestPeriod=M15 TestModel=0 TestOptimization=true TestDateEnable=true TestFromDate=2009.03.01 TestToDate=2009.09.01 TestReport=EURUSD-29-02-2012-Report TestReplaceReport=false TestShutdownTerminal=true
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
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!
Josef