Libraries: MultiTester - page 37

 
fxsaber #:
I only use MTTester.mqh. Try to understand this example.

Connecting MTTester.mqh instead of MultiTester.mqh causes the error " 'TesterSettings' - undeclared identifier ".

And about your example - I don't run several consecutive optimisations, I try each line separately and can't understand why the first one works, the second one behaves strangely and the third one doesn't compile at all. The other two are commented out as shown in the video, it looks like this:

Can you see an obvious error with your trained eye?

 
Yauheni Shauchenka #:

Connecting MTTester.mqh instead of MultiTester.mqh causes the error " 'TesterSettings' - undeclared identifier "

Can you see an obvious error with your keen eye?

I repeat.

I don't know what task you are solving.

 
fxsaber #:
I don't know what task you are solving.

I want to learn how to run a strategy tester with a custom start date specified in the function parameters and standard settings specified in the strategy tester. Just like on the photo


 
fxsaber #:

I'll say it again.

I useonly MTTester .mqh.

Well, the fact that you use only MTTester.mqh is understandable, I think that's what I do.


 
Yauheni Shauchenka #:

Well, the fact that you only use MTTester.mqh is understandable, I think I do.

You are using functions from another mqh.

 

Good afternoon!

I run MultiTester_Example from the MultiTester library, strictly following the suggested settings.

The programme starts and even allows to change input parameters. But with any input parameters (including the default ones) it displays the following message: Waiting Tester....

And no other actions take place. It is not clear what the programme expects from the tester. I am attaching the screen.

Please advise me what can be done.

Sincerely, Alexander

Files:
 
klycko #:

displays the following message: Waiting Tester.....

The programme considers that the Tester is in the calculation state now - the red Stop button is lit.

const bool Init = EventSetTimer(1);

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

void OnTimer()
{
  Comment(MTTESTER::IsReady()); // true - Start button, false - Stop button.
}

This code should show whether the definition of the Waiting Tester state is working correctly or not.

 
fxsaber #:

The programme considers that the Tester is now in the calculation state - the red Stop button is lit.

This code should show whether the definition of the Tester ready state is working correctly or not.

Yes, you are right, this code gives false, although the green button "Start" is lit. So, the"tester readiness state detection" is incorrectly estimating the readiness state? How can this be corrected and where?

 
klycko #:

Good afternoon!

I run MultiTester_Example from the MultiTester library, strictly following the suggested settings.

The programme starts and even allows to change input parameters. But with any input parameters (including the default ones) it displays the following message: Waiting Tester.....

And no other actions take place. It is not clear what the programme expects from the tester. I attach the screen.

Please advise what can be done.

Regards, Alexander

Try another standard mql5 Expert Advisor Not all Expert Advisors pass the tester in mt5 and hang.

There is also a part of hardware, windows software, etc., etc., not only MultiTester.

 
Aleksei Skrypnev #:

Try another standard mql5 Expert Advisor

Tried it with MACD Sample. The result is exactly the same.

I was sent a code that evaluates the "Tester's state of readiness".It gives false (i.e.it thinks that the red button "Stop" is lit), although the green button "Start" is lit. That is, the "Tester readiness state detection" incorrectly assesses this readiness? How can this be corrected and where?