MT5 backtest is stuck (waited for 1 hr)!

 

MT5 Backtest is not working it stuck after backtest and don't print the report.( after backtest i waited for 1 hrs but it is not printing report)


mt5 backtest is not working it is not printing the report, it stuck at last and not print report, pls resolve this issue

as you can asee backtest is completed on journal but report is not showing it is stucked at last .

 
Naveen Kumar Shyam: MT5 Backtest is not working it stuck after backtest and don't print the report.( after backtest i waited for 1 hrs but it is not printing report)

It could be a EA coding issue! What is written to the logs? Also have a look at the agent log, just in case there is extra information there.

EDIT: What is the available disk space and free RAM at that point in time, and what is the CPU usage of the tester?

 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Hi. It might be a problem with the code. Since the test is done there might be some endless loop or some other problematic function in the OnDeinit function in the code. So EA is stuch in some endless loop or something like that.
 

Forum on trading, automated trading systems and testing trading strategies

Strategy tester slow after run test

frcardim, 2025.10.15 20:35

Thank´s mr Ryan

I found another post https://www.mql5.com/en/forum/463732

I try do delete default.tpl template (there is no file tester.tpl) and do not solve, after I delete cache in folder "<data folder>/Tester/Cache" the test finishes without hangs.