How can I launch MT4 in command line?
Posted: Wed Oct 16, 2013 5:46 pm
I want to prepare a batch file in order to do a secuence of backtest, i.e.:
start /wait terminal.exe EURUSD.txt
start /wait terminal.exe GBPUSD.txt
start /wait terminal.exe EURJPY.txt
start /wait terminal.exe EURCAD.txt
You can see http://forum.mql4.com/47016#611837 if you want to learn to do a backtest from a command line call.
The problem is this one:
"NOTE: It is a requirement that you start MT4 up via the launcher, otherwise your newly generated FXT files will be over-written or the back-test will report "n/a" indicating that it could not use your exported database. If you have manually started your terminal (eg. from the Start menu), it is still necessary to use the launcher."
So, how can I launch MT4 in command line without over-writing FXT files?
Thanks a lot
start /wait terminal.exe EURUSD.txt
start /wait terminal.exe GBPUSD.txt
start /wait terminal.exe EURJPY.txt
start /wait terminal.exe EURCAD.txt
You can see http://forum.mql4.com/47016#611837 if you want to learn to do a backtest from a command line call.
The problem is this one:
"NOTE: It is a requirement that you start MT4 up via the launcher, otherwise your newly generated FXT files will be over-written or the back-test will report "n/a" indicating that it could not use your exported database. If you have manually started your terminal (eg. from the Start menu), it is still necessary to use the launcher."
So, how can I launch MT4 in command line without over-writing FXT files?
Thanks a lot