Exportando backtest em Open XML (.xls) por linha de comando

 

Não consigo exportar automaticamente para uma planilha do excel quando executo um backtest por linha de comando.

Nesta documentação (https://www.metatrader5.com/en/terminal/help/start_advanced/start) tem o seguinte trecho sobre o parâmetro "report":

Report — the name of the file to save the report on testing or optimization results. The file is created in the trading platform directory. You can specify a path to save the file, relative to this directory, for example, \reports\tester.htm. The subdirectory where the report is saved should exist.  If no extension is specified in the file name, the ".htm" extension is automatically used for testing reports, and ".xml" is used for optimization reports. If this parameter is not set, the testing report will not be saved as a file. If forward testing is enabled, its results will be saved in a separate file with the ".forward" suffix. For example, tester.forward.htm.

Já tentei diversas extensões sem sucesso (".xml", ".xls", ".xlsx", ".xsl"...) sempre exporta em .htm


Segue parde do meu arquivo .ini:

[Tester]

Deposit=1000

Leverage=1:1

Model=0

ExecutionMode=0

Optimization=0

Report=BT_Result.xml

ReplaceReport=1

FromDate=2018.11.01

ToDate=2019.12.01

ForwardMode=0

ShutdownTerminal=1

Visual=0


O resultado que preciso é o mesmo que manualmente exportar um backtest da seguinte forma, só que por linha de comando:


Platform Start - For Advanced Users - MetaTrader 5 Help
Platform Start - For Advanced Users - MetaTrader 5 Help
  • 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...
 
Managed to solve? I wanted to do the same, but directly by code within EA. Can you tell me how you solved it?
 

Conseguiu resolver? eu queria fazer o mesmo só que diretamente por código dentro do EA. Pode me dizer como resolveu?