I’m running MT5 backtests through the command line using a .bat and .ini file. Everything works — MT5 opens, runs the test, and shows “saving report…” window dialog — but no .html report is ever created in the specified directory.
As per documentation, Report setting should be a file name, not a directory.
BTW, what is ReportMode? I don't see any reference of such setting.
- www.metatrader5.com
As per documentation, Report setting should be a file name, not a directory.
BTW, what is ReportMode? I don't see any reference of such setting.
I found the report(s)! Look like it was saving the reports but I was looking in the wrong place. I was looking at the subfolders instead of the main folder. I have quite a few reports from trouble shooting earlier. Also, ignore ReportMode. I was having chatgpt help me find the issue and added that.
If anyone else has this issue. the reports are located in
User\AppData\Roaming\MetaQuotes\Terminal\AS96HTV598FW2GV..... folder.
Thank you!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I’m running MT5 backtests through the command line using a .bat and .ini file. Everything works — MT5 opens, runs the test, and shows “saving report…” window dialog — but no .html report is ever created in the specified directory.
I’ve tried:
Using /config: with full paths
Different report names and locations (C:, Documents, etc.)
Setting ReplaceReport=1
Running as admin
Even with correct permissions, still no file is created
I’m not using portable mode — I’d like the same .html report generated when saving manually from the Strategy Tester.
Has anyone found a reliable fix for this?
my inimy bat