Hi guys,
this is topic often discussed. However, I cannot get the strategy tester started in batch mode from the command line.
Can anyone held? Here is my ini file:
I am trying to start it as follows:
C:\"Program Files"\"JFD MetaTrader 5"\terminal64.exe /config:c:/common.ini
The terminal comes up but nothing happens.
Maybe someone can help out here. It would be interesting to know where EXACTLY to place the files and where EXACTLY the report is written to ...
Thanks, Niklas
I get same questuon as yours. Do you have any update with it?
I try termeril64.exe /config: my.ini , This just awake MQL5 main program, but tester not run..
Any new ideal?
This is what my (working) batch file looks like:
@echo off set mt5_path="C:\Program Files\FOREX.com US\terminal64.exe" %mt5_path% /config:"AUDCAD windex2.81.genetic.cc.no-sl.ini" %mt5_path% /config:"AUDCAD windex2.81.genetic.rf.no-sl.ini" %mt5_path% /config:"AUDCAD windex2.81.genetic.rf.no-sl.ma.ini" %mt5_path% /config:"AUDCAD windex2.81.genetic.rf.no-sl.no-ma.ini" %mt5_path% /config:"AUDCAD windex2.81.genetic.rf.no-sl.ma.no-dca.ini" %mt5_path% /config:"AUDCAD windex2.81.genetic.rf.no-sl.no-dca.ini" ...
Also, as you have done, you need to be sure to include ShutdownTerminal=1 in the [Tester] section, otherwise it won't exit when the test is done.
I just finished running a batch of 462 tests this way. Fair warning that a lot of them fail, for no apparent reason. I ended up having to edit the batch file after each run to just run the remaining ones. They eventually all ran. I'm not 100% sure, but it does seem to help if you make sure the tick/bar data you need is downloaded before you start, rather than relying on the Strategy Tester to load it as needed.
- 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 guys,
this is topic often discussed. However, I cannot get the strategy tester started in batch mode from the command line.
Can anyone held? Here is my ini file:
I am trying to start it as follows:
C:\"Program Files"\"JFD MetaTrader 5"\terminal64.exe /config:c:/common.ini
The terminal comes up but nothing happens.
Maybe someone can help out here. It would be interesting to know where EXACTLY to place the files and where EXACTLY the report is written to ...
Thanks, Niklas