Problem with running strategy tester through MCP server

 

I successfully configured an MCP server and I managed to start a local indicator tester session. I could see a correct indicator being tested in the strategy tester

MT5 returned tester run_id: 7676818232884649938 

While the test was still running, I asked for the tester status, but the MCP server couldn't find that run_id: “tester_get_status requested run_id does not match the active tester job”

When the tester finished, I asked for the test report, but it answered with: "tester_get_report requested run_id does not match the last tester job" 

I didn't run any other test.

The tester log file doesn't contain "run_id", nor could I find it in the MT5.


MT5 v6140

I tried this from VS Code, using Github Copilot.


Does this work for testing indicators?

Am I missing something?

The Fundamentals of Testing in MetaTrader 5
The Fundamentals of Testing in MetaTrader 5
  • 2011.05.18
  • www.mql5.com
What are the differences between the three modes of testing in MetaTrader 5, and what should be particularly looked for? How does the testing of an EA, trading simultaneously on multiple instruments, take place? When and how are the indicator values calculated during testing, and how are the events handled? How to synchronize the bars from different instruments during testing in an "open prices only" mode? This article aims to provide answers to these and many other questions.
 
Not enough information. I will not try to guess.