Libraries: MultiTester - page 36

 
Method added.
// If not all input parameters of the EA are set, their values are taken from the previous EA.
static bool MTTESTER::SetSettingsPart( string Str, const int Attempts = 5 )
 

After each pass, the brief settings of the tester are copied to the clipboard.

In which file can this be removed?

 
Good day . Can someone tell me how to disable logs in the tester ?
 
Aleksei Skrypnev settings of the tester are copied to the clipboard.

In which file can this be removed?

I don't get it.

 

Hi @fxsaber, great library. Could you please help to figure out what could be wrong in the case of the function call:

#include <fxsaber\MultiTester\MultiTester.mqh> // Multiple runs/optimisations in Tester.

// This function is responsible for generating the task list.
void SetTesterSettings()
{  
  TesterSettings.Add("EURUSD");
  TesterSettings.Add("EURUSD", PERIOD_H1);
  TesterSettings.Add("EURUSD", PERIOD_H1, D'2023.01.01', D'2024.01.01');
}


The line works fine:

TesterSettings.Add("EURUSD");


The next one gives an error at the call stage:

TesterSettings.Add("EURUSD", PERIOD_H1);



And this one does not compile at all:

TesterSettings.Add("EURUSD", PERIOD_H1, D'2023.01.01', D'2024.01.01');



behaviour on the video https://monosnap.com/file/e1aRT2V2Z24CK63jMaiz78LoS5DB0y

monosnap.com
monosnap.com
  • monosnap.com
Monosnap screenshot tool for Mac and PC with own cloud storage. Take screenshots, record videos and upload files directly to the cloud. Just in one click.
 
Yauheni Shauchenka #:

Hi @fxsaber, great library. Could you please help me to understand it

I only use MTTester.mqh. Try to understand this example.

 
fxsaber #:

I don't get it.

I meant that after performing a pass in the task list, this occurs in the clipboard of the computer:

As far as I understand this is a MultiTester function and it can be removed so that there are no overlaps in the clipboard when there are other tasks in the clipboard.

[Tester]
Expert=1.ex5
Symbol=USDJPY
Period=M1
Optimization=3
Model=4
FromDate=2024.03.01
ToDate=2024.03.01
ForwardMode=0
Deposit=100000
Currency=USD
ProfitInPips=0
Leverage=500
ExecutionMode=0
OptimizationCriterion=
1 
[TesterInputs]
Lot=false||false||0||true||N
Lots=0.1||0.1||0.010000||1.000000||N
StopLoss=35||35||1||350||N
TakeProfit=10||10||1||100||N
 
Aleksei Skrypnev #:

I meant that after performing a pass in the task list, this occurs in the clipboard of the computer:

As far as I understand this is a MultiTester function and it can be removed so that there are no overlaps in the clipboard when there are other tasks in the clipboard.

Not sure what you are running or how you are using it. I have no conflicts when running several Testers in parallel.

 
Aleksei Skrypnev #:

Or as it follows from your comments in this thread earlier, the clipboard is used for multitester operation and important information about settings is transferred through it and not just output information that can be painlessly removed?

API Tester via clipboard. This is how the developers have implemented it.

Getting Tester settings: CTRL+C -> GetStringFromBuffer.

Setting Tester settings: SetStringToBuffer -> CTRL+V.


In my scripts I always provide a pause option in case I need the clipboard for other tasks.