Errors, bugs, questions - page 2846

 

First time I've encountered such a long check for a new beta.

2020.09.08 12:33:17.822 LiveUpdate      check for beta version
2020.09.08 12:33:35.436 LiveUpdate      you are using the latest version

18 seconds.


It's always been like this (fast).

2020.09.08 07:56:01.873 LiveUpdate      check for beta version
2020.09.08 07:56:02.054 LiveUpdate      you are using the latest version


ZS It's not available now.

2020.09.08 14:44:19.782 LiveUpdate      check for beta version
2020.09.08 14:45:32.739 LiveUpdate      not available
 
Nelson Wanyama:

Build 2592


Really? What colour scheme are they using?

just as well! )))

https://youtu.be/8Kr23RvT--k

Так сойдет | Советские поучительные мультики для малышей
Так сойдет | Советские поучительные мультики для малышей
  • 2015.09.01
  • www.youtube.com
Так сойдет - советский мультфильм о зайце, который не доделывал свою работу. Поучительный мультик для детей о труде. Наша группа Вконтакте https://vk.com/soy...
 
Aleksey Vyazmikin:

Build 2560 (x64)

Today 07.09.2020 - getting the result

Build 2361 (x32)

Correct result gives 2361, today is Monday, no weekend bars and build 2560 takes into account virtual weekend bars. Please correct this critical inaccuracy!

First, paste the output of the intermediate results and show what's wrong with them:

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
 {
//---

  datetime Fp=0, Arr[];
  if(CopyTime(NULL, PERIOD_D1, iTime(Symbol(), PERIOD_CURRENT, 0), 1+3, Arr)>0)
   {
    Fp=Arr[0];
    Print("PERIOD_CURRENT=", EnumToString(Period()));
    Print("iTime(Symbol(), PERIOD_CURRENT, 0)=", iTime(Symbol(), PERIOD_CURRENT, 0));
    ArrayPrint(Arr);
   }
  Print("Fp=", TimeToString(Fp, TIME_DATE|TIME_MINUTES));

 }
//+------------------------------------------------------------------+

Output

        Chect_ITime (EURUSD,H1) PERIOD_CURRENT=PERIOD_H1
        Chect_ITime (EURUSD,H1) iTime(Symbol(), PERIOD_CURRENT, 0)=2020.09.09 12:00:00
        Chect_ITime (EURUSD,H1) 2020.09.04 00:00:00 2020.09.07 00:00:00 2020.09.08 00:00:00 2020.09.09 00:00:00
        Chect_ITime (EURUSD,H1) Fp=2020.09.04 00:00

I don't see any weekend bars here

 
Rashid Umarov:

First, insert the output of the intermediate results and show what's wrong with them:

Output

I don't see a weekend here.

The problem was on Monday and was gone on Tuesday!

The fact is that on different terminals the script showed different value.

So I have to either wait for Monday and try to reproduce it or simulate Monday - but what's the best way to do it?

I suppose the problem is that on weekends some events happen (on broker's server) and indicators are rebuilding on the chart, but there is no change in quotes history. Maybe the terminal takes into account these events, if it is on at the weekend, caches them, and then resets them after a while or when re-opening?

 
Aleksey Vyazmikin: It's not a good idea.

So it's either wait for Monday and try to reproduce, or simulate Monday - but how best to do it?

Always try to log all data first (if there is an error). You have hidden everything in your code.
 
Rashid Umarov:
Always try to log all the data first (if there is an error). You have hidden everything in your code.

Okay. The request was on minute bars on the Si-9.20 futures

 
is there any way for the tester to know if the optimisation has ended? - or the user has pressed the stop button or the optimisation runs are over
 
Igor Makanu:
is there any way for the tester to know that the optimisation has ended? - or the user has pressed the stop button or the optimisation runs are over

OnTesterDeinit.

 

Guys.

There is a problem in MT4 (1280) with changing symbol or TF.


If I use change of TF and symbol from the Expert Advisor - everything changes quickly!

As soon as I use an additional indicator (I found it in the Internet), when I change symbol or TF, the terminal hangs for 10 seconds.


I checked with any panels (my own and other EA's) and the same result is always the same, when changing the TF or symbol the terminal hangs for 10 seconds, and the EA is deinitialized, i.e., it is not reinitialized.


I have attached the example of an indicator for the change of TF. I also attached the information panel found in the Internet (an old alien one)

Try it with your own panels.



In MT5 everything is fine!


here is an example:



1. I press on a chart to change TF/symbol from ChartSetSymbolPeriod! - I get a hang for 10 seconds,

2. After that, the EA is deinitialized (EA with a panel, any, just a chart)

3. I press again to change the same TF *(same button on the chart) and everything is initialized.




If these actions are done from the EA (ChartSetSymbolPeriod), there is no problem



An example in the video.

Expert Advisor changes TF - no problems.

Indicator changes TF - no problems with freezing.



I have checked several panels of demos - all the same.

Most likely it is a bug in mt4.

 

MT5 build 2596 of 10 Sep. 2020 is doing something strange.

The indicators compiled with this build work quite correctly,

they turn into something nonsense and stop counting correctly.

Am I the only one who has this problem or is there more?

Reason: