Libraries: MultiTester - page 39

 
I downloaded this file again from https://www.mql5.com/ru/code/26132;
The result is the same, the state of the tester is not detected correctly.

The verification code you sent also gives false both when the Tester is running and not running.

I am using Metatrader 5.00 build 4282 from 25.04.2024.
What version do you have, maybe that's the reason?
 
klycko #:
Re-downloaded this file from https://www.mql5.com/ru/code/26132;
The result is the same, the tester state is not detected correctly.

The verification code you sent also generates false both when the Tester is running and when it is not running.

I am using Metatrader 5.00 build 4282 from 25.04.2024.
What version do you have, maybe that's the reason?

Try to run the terminal in portable mode.

 
Aleksey Vyazmikin #:

Try running the terminal in portable mode.

Good afternoon!

Thanks for the advice.

How do I switch to portable mode?


Now I have yesterday's version of MetaTrader - Version 5.00 build 4305 from 16.05.2024.

The Tester status is still incorrectly detected on it.


Regards, Alexander

 
Запуск платформы - Для продвинутых пользователей - Начало работы - Справка по MetaTrader 5
  • www.metatrader5.com
По завершении установки в меню "Пуск" создается группа программ торговой платформы, а на рабочем столе дополнительно помещается ярлык...
 
klycko #:

Good afternoon!

Thanks for the advice.

How do I switch to portable mode?


Right now I have yesterday's version of MetaTrader - Version 5.00 build 4305 dated 16.05.2024.

It still does not detect the Tester status correctly.


Regards, Alexander

Copy exe files of the terminal to a separate directory, then run the terminal from this directory through a shortcut with the portable key. Here is an example of the path in the shortcut.

"F:\FX\MT5\terminal64.exe" /portable

Then copy the necessary libraries into the subdirectory.

 
fxsaber #:

Click on this file with your mouse and save it to the desired path.


Good afternoon!

I downloaded this file and installed it in the right folder.

Tested the work of MultiTester_Example and MultiTester_Example2 Expert Advisors on 4 computers and two computers.

MultiTester_Example2 on 4 computers and on two netting accounts (real dollar and demo accounts).

The result was the same everywhere - incorrect detection of the tester state.

Could you please advise me how to fix it?

Regards, Alexander

 
klycko #:

Can you please advise on how this can be fixed?

Check the PM section once in a while.
 

It turned out that if you drag the Tester window to the top of the Terminal, the internal hierarchy of window handles changes.

I recommend not to keep Tester on the top. It will be necessary to Alert in case of invalid location of the Tester window.

 
fxsaber #:

It turns out that if the Tester window is dragged to the top of the Terminal, the internal hierarchy of window handles changes.

I recommend not to keep Tester on the top. It will be necessary to Alert in case of invalid location of the Tester window.

Everything seems to be working now!

Thank you so much! You spent so much time on my problem!!!

Good luck to you!

 
Good afternoon!

Based on the MultiTester library, I have developed a procedure for optimising the parameters of my robot, which I have attached.
Maybe it will be useful to someone.
It works quite well. Parameter optimisation is performed by a complex criterion, which is selected at startup.
In line 107 it is desirable to define the maximum profit and the parameter value where the maximum profit is reached.
Can anyone tell me how to calculate these values?
How to output the results of the optimisation into an Excel table and into the optimisation cache file?

Regards, Alexander
Files:
MultiTest_t.mq5  13 kb