MT5 CLI Multiple Backtests based on Set Files

 

Hi,

I am looking for some advice. 

I have created a Python script that uses the MT5 CLI to run a single test in the Strategy Tester and saves the report. Currently, my script force-closes MT5 and then reopens it to run the next test. The problem is that i need to run hundreds / thousands of these single set files tests a day which means I’m hitting the server’s limitation of <2000 server requests.  I am using INI because I have embedded the set file into the ini. (This is the only way I could get the strategy tester to work with cli)

Is there a way to set up a batch tester for set files so MT5 does not need to close and reopen hundreds of times a day?

Any advice would be much appreciated, many thanks in advance.  

 
You're probably looking for MTTester.mqh from this library.
MultiTester
MultiTester
  • 2025.04.04
  • www.mql5.com
Multiple runs/optimisations in Tester.
 
Stanislav Korotky #:
You're probably looking for MTTester.mqh from this library.
Thank you!