Strategy Tester CLI

 

Hi


I'm trying to start the strategy tester from the command line but I can't figure out how to specify the expert because it always says it cannot be found.


This is the command I'm trying from a batch file:

start "B:\MetaTrader 5\terminal64.exe" Expert=Advisors\Meine\test.mq5 TestSymbol=EURUSD TestPeriod=M1 TestModel=2 TestOptimization=false TestDateEnable=true TestFromDate=2002.01.01 TestToDate=2019.06.07 TestReport=test TestReplaceReport=false TestShutdownTerminal=true Deposit=10000


I've tried already:

Expert=Advisors\Meine\test.mq5
Expert=Advisors\Meine\test.ex5
Expert=Advisors\Meine\test
Expert=test.mq5
Expert=test.ex5
Expert=test
Expert=C:\Users\Nexarius\AppData\Roaming\MetaQuotes\Terminal\98EA62F6559EEE0A166E0C782FEEB765\MQL5\Experts\Advisors\Meinetest.mq5
Expert=C:\Users\Nexarius\AppData\Roaming\MetaQuotes\Terminal\98EA62F6559EEE0A166E0C782FEEB765\MQL5\Experts\Advisors\Meinetest.ex5
Expert=C:\Users\Nexarius\AppData\Roaming\MetaQuotes\Terminal\98EA62F6559EEE0A166E0C782FEEB765\MQL5\Experts\Advisors\Meinetest
Expert="C:\Users\Nexarius\AppData\Roaming\MetaQuotes\Terminal\98EA62F6559EEE0A166E0C782FEEB765\MQL5\Experts\Advisors\Meinetest.mq5"
Expert="C:\Users\Nexarius\AppData\Roaming\MetaQuotes\Terminal\98EA62F6559EEE0A166E0C782FEEB765\MQL5\Experts\Advisors\Meinetest.ex5"
Expert="C:\Users\Nexarius\AppData\Roaming\MetaQuotes\Terminal\98EA62F6559EEE0A166E0C782FEEB765\MQL5\Experts\Advisors\Meinetest"


Any help would be appreciated thanks.

 

Where did you read you can use such command line ?

Please read the documentation. You need a configuration file.

Platform Start - For Advanced Users - MetaTrader 5
Platform Start - For Advanced Users - MetaTrader 5
  • www.metatrader5.com
After installation, a group of programs of the trading platform is added to the Start menu, and the program shortcut is created on the desktop. Use them to run the platform. Two copies of the platform cannot run from the same directory. If you need to run multiple copies at the same time, install the appropriate number of programs in different...
 
Alain Verleyen:

Where did you read you can use such command line ?

Please read the documentation. You need a configuration file.

I cant get the my tool bar with all my lines pulled up and cnt place trades! does anyone know how to do this craziness?