Export testing result in Open XML file by command line

 

Can I export testing result in Open XML file by command line?

This documantation say that about "Report" parameter:

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.

Even informing ".xml" extention on the name, it awalys exports ".htm" file. I tried many extensions like ".xls", ".xlsx", ".xsl"...

Follow below part of my .ini file

[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


Thanks!
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...
 

I have same issue :-(

version 5.00 build 2860

Any idea how to solve?

 

Hi, according to what is written in the Metaquotes documents, I believe not.


https://www.metatrader5.com/en/terminal/help/start_advanced/start

"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."


So the only way would be to automate at least one parameter to generate an XML report.


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...