I've noticed for a long time that his mt5 is working strangely on the reali-mini with my indicators, I haven't got around to checking the reasons... I don't have the time to check the reasons...
This error is somehow floating. I have one VPS with RoboForex terminal on it. The robot is running on timer. I go to change settings and get error 4024. My robot is not working as well as millisecond timer, it won't start. Although it just worked for several weeks on the same build in the same environment without any problems. Simultaneously, neighboring terminal in the same environment continues to work with timer. Last time everything started only after VPS reboot, but it also gave an error and couldn't initialize the timer.
Dmitriy Falkov: This error is floating at all. I have one VPS with RoboForex terminal on it. RoboForex is running on timer. I have to change settings and get error 4024. My robot is not working as well as millisecond timer, it won't start. Although it just worked for several weeks on the same build in the same environment without any problems. Simultaneously, neighboring terminal in the same environment continues to work with timer. Last time everything started only after VPS reboot, but it also gave an error and couldn't initialize the timer.
There is some speculation that the error occurs when the internet is moving, but I don't know what to do about it...
int error=-1; int counter=1; do { ResetLastError(); EventSetMillisecondTimer(Timer); error=GetLastError(); Print("EventSetMillisecondTimer. Attempt=",counter," Error=",error); if(error!=0) Sleep(1000); counter++; } while(error!=0 && !IsStopped());
And observed the following. Five unsuccessful attempts. At the same time, I close the adjacent terminal, which has no charts, but only copying of deals. And immediately I get success. The timer initialized.
int error=-1; int counter=1; do { ResetLastError(); EventSetMillisecondTimer(Timer); error=GetLastError(); Print("EventSetMillisecondTimer. Attempt=",counter," Error=",error); if(error!=0) Sleep(1000); counter++; } while(error!=0 && !IsStopped());
And observed the following. Five unsuccessful attempts. At the same time, I close the adjacent terminal, which has no charts, but only copying of deals. And immediately I get success. The timer initialized.
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.
We will think about it.
Start by extending the diagnostics - there may be 5 or 6 reasons for the failure. We'll also revise the code to see if there's an error
Isn't the broker BKS by any chance?
I've noticed for a long time that his mt5 is working strangely on the reali-mini with my indicators, I haven't got around to checking the reasons... I don't have the time to check the reasons...
this glitch has so far only occurred on mt4 from BCS
This error is floating at all. I have one VPS with RoboForex terminal on it. RoboForex is running on timer. I have to change settings and get error 4024. My robot is not working as well as millisecond timer, it won't start. Although it just worked for several weeks on the same build in the same environment without any problems. Simultaneously, neighboring terminal in the same environment continues to work with timer. Last time everything started only after VPS reboot, but it also gave an error and couldn't initialize the timer.
There is some speculation that the error occurs when the internet is moving, but I don't know what to do about it...
Added to OnInit():
int counter=1;
do
{
ResetLastError();
EventSetMillisecondTimer(Timer);
error=GetLastError();
Print("EventSetMillisecondTimer. Attempt=",counter," Error=",error);
if(error!=0) Sleep(1000);
counter++;
}
while(error!=0 && !IsStopped());
And observed the following. Five unsuccessful attempts. At the same time, I close the adjacent terminal, which has no charts, but only copying of deals. And immediately I get success. The timer initialized.
Added to OnInit():
int counter=1;
do
{
ResetLastError();
EventSetMillisecondTimer(Timer);
error=GetLastError();
Print("EventSetMillisecondTimer. Attempt=",counter," Error=",error);
if(error!=0) Sleep(1000);
counter++;
}
while(error!=0 && !IsStopped());
And observed the following. Five unsuccessful attempts. At the same time, I close the adjacent terminal, which has no charts, but only copying of deals. And immediately I get success. The timer initialized.
the error is always the same 4024