Vitaly Gorbunov: Alexey you are requesting the data of the senior TF in the initis. There is no connection yet most likely there has returned an error. Try to make a request with the arrival of the first tick.
I can't check it, I'm at the cottage and didn't bring my tablet with me.
First read the code in its entirety, then draw conclusions.
Inite has a preliminary request to initiate data loading (and this is the developers' advice). The main request goes to OnCalculate() only after connection to server is established.
Read the code in full first, then draw conclusions.
Inite has a preliminary request to initiate data loading (and this is the developers' advice). The main request goes to OnCalculate() only after connection to the server is established.
It is difficult to analyze code from the phone because of width. Now only when I come back from summer cottage I will have a proper look.
Taras Slobodyanik: have you tried another broker? (where the symbols are without prefixes, e.g. Metacquotes or A*****i)
One bollocks:
2018.10.0601:01:47.602 GBPUSD,M1: CheckCurrentWeekOpenTime: Время открытия текущей недели = 2018.10.0100:002018.10.0601:01:47.602 GBPUSD,M1: CheckCurrentDayOpenTime: Время открытия текущего дня = 2018.10.0500:002018.10.0601:01:47.602 GBPUSD,M1: CheckCurrentHourOpenTime: Время открытия текущего часа = 2018.10.0522:00
No. The longer the terminal is switched off, the bigger the difference. On start-up, for reasons I don't understand, the time returns to when the terminal was switched off.
No. The longer the terminal is switched off, the greater the difference. On start-up, for reasons I don't understand, the time returns to when the terminal was switched off.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Alexey you are requesting the data of the senior TF in the initis. There is no connection yet most likely there has returned an error. Try to make a request with the arrival of the first tick.
First read the code in its entirety, then draw conclusions.
Inite has a preliminary request to initiate data loading (and this is the developers' advice). The main request goes to OnCalculate() only after connection to server is established.
Read the code in full first, then draw conclusions.
Inite has a preliminary request to initiate data loading (and this is the developers' advice). The main request goes to OnCalculate() only after connection to the server is established.
(where the characters are without prefixes, e.g. Metacquotes or A*****i)
Have you tried another broker?
(where the symbols are without prefixes, e.g. Metacquotes or A*****i)
No, I haven't. Do you think the result will be different?
have you tried another broker?
(where the symbols are without prefixes, e.g. Metacquotes or A*****i)
One bollocks:
The hour was supposed to be 23:00.
One bollocks:
The hour was supposed to be 23:00.
Your time is out of sync, hence the problem.
Your time is out of sync, hence the problem.
No. The longer the terminal is switched off, the bigger the difference. On start-up, for reasons I don't understand, the time returns to when the terminal was switched off.
No. The longer the terminal is switched off, the greater the difference. On start-up, for reasons I don't understand, the time returns to when the terminal was switched off.
Maybe the terminal falls asleep for some reason?
Maybe the terminal is falling asleep for some reason?
Try it yourself. Start the indicator, switch off the terminal and switch it back on when the new hour arrives.
Try it yourself. Start the indicator, switch off the terminal and switch it back on when the new hour arrives.
Naturally, it will return the switch-off time. The time when the data was up to date.