Libraries: MultiTester - page 12

 

Suspend when unloading also suspends. It's not pleasant, it's not tolerable.

And it's more difficult to deal with crashes. It seems to be repeated only when the script is under debugging. But I can't tell the exact pattern yet. It is complicated by the fact that it does not happen immediately and you have to wait for a long time. As soon as I get a better understanding of it, if it still repeats on the latest builds, I will describe it more precisely.


Igor Makanu

Thank you very much. I remember that I've seen it somewhere. But I didn't realise that it is only in the right-click menu.

Igor Makanu
Igor Makanu
  • www.mql5.com
Стал часто замечать у некоторых пользователей приаттаченные графики баланса из тестера стратегий. Я многое не понимаю, но видимо в этом есть смысл? Это религия? Или все таки работает примета деньги к деньгам... Появился интерес к изучению возможностей Python 3.7.2 Давно не занимался парсингом сайтов, ибо утомительное и неэффективное занятие...
 
In release 2265, the alert window stopped appearing. To hell with it, but there is progress.... But everything works.
 
Good Beer:
In release 2265, the alert window stopped appearing. To hell with it, but there is progress.... But everything works.

I'm getting it. Maybe there's something wrong with your version.

 
Now EAs running in the Tester can receive their data.
// Getting Tester settings by the Expert Advisor running on the local Agent.

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

void OnInit()
{
  string Str;
  
  if (MQLInfoInteger(MQL_TESTER) && MTTESTER::GetSettings(Str))
    Print(Str);
}


Result

[Tester]
Symbol=EURUSD
Period=M1
Optimization=0
Model=4
FromDate=2019.01.15
ToDate=2019.12.08
ForwardMode=0
Deposit=100000
Currency=USD
ProfitInPips=1
Leverage=100
ExecutionMode=0
OptimizationCriterion=6
Visual=0
[TesterInputs]
 

What would that mean?

2019.12.11 14:08:27.575 Message С предыдущего запуска осталось незавершенных заданий - 11
2019.12.11 14:08:27.590 Message USDJPY PERIOD_H12 TesterDate -  TesterDate (1/11)
2019.12.11 14:08:27.590 Message ...
2019.12.11 14:08:27.590 Message EURUSD PERIOD_H12 TesterDate -  TesterDate (11/11)
2019.12.11 14:08:27.590 Message продолжить с момента прерывания  - ДА,
2019.12.11 14:08:27.590 Message начать новое задание    - НЕТ,
2019.12.11 14:08:27.590 Message выйти      - ОТМЕНА
2019.12.11 14:08:29.695 MultiTester_Example (EURUSD,D1) USDJPY PERIOD_D1 TesterDate -  TesterDate (1/20) - Start.
2019.12.11 14:08:29.699 MultiTester_Example (EURUSD,D1) USDJPY PERIOD_D1 TesterDate -  TesterDate (1/20) - Done. Time = 00:00:00
2019.12.11 14:11:41.856 MultiTester_Example (EURUSD,D1) USDJPY PERIOD_D1 TesterDate -  TesterDate (2/20) - Start.

Given that "start a new task" was selected.

 
Сергей Таболин:

What would that mean?

Given that "start a new task" was selected.

Update all mqh files from KB by hand and try it after that. If it reproduces, attach the Tester logs.

 
fxsaber:

Update all mqh files from KB by hand and try it after that. If it reproduces, attach the Tester logs.

I updated yesterday. Completely. But by zip.

Just simulated the situation - no failures.

I'll try it later after restarting the computer.

 
Сергей Таболин:

Updated it yesterday. Completely. Really zipped.

Don't do that.

 
fxsaber:

Don't do that.

Okay. I'll download it by hand.

 

Downloaded. The glitch has not returned )))

2019.12.11 18:51:06.057 Message С предыдущего запуска осталось незавершенных заданий - 17
2019.12.11 18:51:06.100 Message USDJPY PERIOD_D1 TesterDate -  TesterDate (1/17)
2019.12.11 18:51:06.100 Message ...
2019.12.11 18:51:06.100 Message EURUSD PERIOD_D1 TesterDate -  TesterDate (17/17)
2019.12.11 18:51:06.100 Message продолжить с момента прерывания  - ДА,
2019.12.11 18:51:06.100 Message начать новое задание    - НЕТ,
2019.12.11 18:51:06.100 Message выйти      - ОТМЕНА
2019.12.11 18:51:10.785 MultiTester_Example (EURUSD,D1) USDJPY PERIOD_D1 TesterDate -  TesterDate (1/24) - Start.
2019.12.11 18:54:18.534 MultiTester_Example (EURUSD,D1) USDJPY PERIOD_D1 TesterDate -  TesterDate (1/24) - Done. Time = 00:03:08
2019.12.11 18:54:18.791 MultiTester_Example (EURUSD,D1) USDJPY PERIOD_D1 TesterDate -  TesterDate (2/24) - Start.