Libraries: MultiTester - page 31

 
Good afternoon. I set a set of pairs for optimiser runs. The runs pass. But only one .opt file is saved. And the pair is specified as the default in the tester. But I don't understand where the other .opt files are. What is the problem?
 
void SetTesterSettings()
{
  TesterSettings.Add("AvtoTest.mq5","GBPUSD");
  TesterSettings.Add("AvtoTest.mq5","GBPJPY");
  TesterSettings.Add("AvtoTest.mq5","AUDCAD");
}
So that's how I filed the tasks for the optimisation runs. This is how it worked for me. It may be useful for someone: the first parameter in the Add method asks for the name of the Expert Advisor under test. Maybe I don't understand something, then correct me...

 
vinnipyx #:
only one .opt file is saved.

It is impossible to answer without details. MTTester does not affect the generation of opt files itself.

 
fxsaber #:

Sometimes you need to do the same thing on working terminals. Automation of this action is shown below on the example.


It is required to collect data on each terminal by running a similar script RunMe.mq5.


This is how it is done.


As a result, we collected data from all terminals with one click. Thanks to MTTESTER::RunEX5 - runs EX5 on the required terminal (portable).

and for MT4 ? :)

 
Cvetan Michev #:

and for MT4 ? :)

Not planned.

 
Judging by the date, there was a quiet update at the end of March. No changelog or even a post that it was updated. There doesn't seem to be any notifiers on it either. What has changed?

And is there a change planned for the new tst format?
 

traveller00 #:
Судя по дате, в конце марта было тихое обновление. Ни changelog, ни даже поста, что обновилось. Нотифаев на это тоже похоже нет. Что изменилось?

I don't keep track of the changes. Either something has been added, or something has become more reliable. Those who used the old MTTester.mqh do not need to change anything after the library update.

If you need to do something that you couldn't do before, then maybe the new functionality will help and it makes sense to discuss it.

And is there a change planned for the new tst format?

There is no work with tst here. It's in another library, it needs to be modified for changes, of course.


ZY An example of launching several genetics in a row.

Forum on trading, automated trading systems and testing trading strategies

Genetic Backtesting Feature

fxsaber, 2023.03.25 11:26 AM

#include <fxsaber\MultiTester\MTTester.mqh> // https://www.mql5.com/ru/code/26132

input int inTesterAmount = 5;

void OnStart()
{    
  int i = 0;
  
  while (!IsStopped() && (i < inTesterAmount))
    if (MTTESTER::IsReady() && MTTESTER::ClickStart())
      Alert("Tester " + (string)++i + "/" + (string)inTesterAmount);
}
 

Is there a limit on the length in the number of operations of the task list?

P.S. It just turned out that the task list can take a long time to process.
 
Aleksei Skrypnev #:

Is there a limit on the length in the number of operations of a job list?

No. Any lists.

 
Another quiet update.