Launch Terminal Using Settings of the Strategy Tester

 

I am trying to launch the Strategy Tester from a command line.
I am using the steps indicated in the Client Terminal help, section Tools-Configuration at Startup.
I created a ma0.ini file as in the help example, I placed it in the terminal \config folder and a the ma0.set in the Terminal\<guid>\tester folder.

; start strategy tester 
TestExpert=Moving Average 
TestExpertParameters=ma0.set 
TestSymbol=EURUSD 
TestPeriod=H1 
TestModel=2 
TestSpread=0 
TestOptimization=false 
TestDateEnable=true 
TestFromDate=1970.01.01 
TestToDate=2006.06.06 
TestReport=MovingAverageReport 
TestReplaceReport=false 
TestShutdownTerminal=true

I run from a command shell, as suggested in the help file, this:

C:\Program Files (x86)\MetaTrader - my broker>terminal.exe config\ma0.ini

the terminal opens but nothing happens and no MovingAverageReport.htm file is generated.
What am I missing?

 

I realized that the config folder is not the one under the program files folder

C:\Program Files (x86)\MetaTrader - my broker>

but instead the one in the <user name> terminal folder, like this:

C:\Users\<user name>\AppData\Roaming\MetaQuotes\Terminal\<your GUID>

After moving the .ini file there, it works.
Maybe the documentation should mention this behavior when installing MT4 in AppData...

Reason: