Errors, bugs, questions - page 539

 

Just checked, the code:

Alert(Bars(NULL, PERIOD_H1, "2011.10.11 04:05", "2011.10.11 04:50"));

Alert(GetLastError());

Result:

0

0

I've seen with my own eyes when I requested a section with bars and got 0 in reply, GetLastError didn't help. According to my observations, this happens when there are ticks.

Документация по MQL5: Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков - Документация по MQL5
 

When trying to log in to the website:

Files:
qdx5dlzm6x.png  79 kb
 
-Alexey-:

When trying to log in to the website:


Click on "I understand the risk", request a certificate in the next step and post it here.

It should be like this:

If the information matches, then everything is fine and it's just that the browser couldn't load certificate validation for some reason. For example, an old browser or an operating system without updated root certificates.

If it does not match, someone is trying to intercept your traffic with a fake certificate.

 
Sorry if this has already been discussed. But I have a perpetual problem, setting up all my charts long and painstakingly, but after restarting the terminal or system they all get deleted for some reason. I would like to know how to use Open Deleted function to return all these self-deleted charts back to their place?
 
Bene_Nota:

Sorry if this has already been discussed. But I have the eternal problem of setting up all my charts long and painstakingly, but after restarting the terminal or system they all get deleted for some reason. I would like to know how to use Open Deleted function to put all these self-deleted charts back in place?
Do you have full screen mode enabled?
 
alexvd:
Are you in full-screen mode?
Yes, it is. I was browsing the forum a while ago and someone was explaining how to activate the Open Deleted function, so I had to switch something on somewhere in the settings...
 

So as not to be unfounded, I simulated the situation I mentioned above (I can't quote it as I can't get out of quote :) ).

I ran the following code on M15:

while( ! IsStopped())
{
int iCount = Bars(NULL, PERIOD_M12, "2011.10.07", "2011.10.01");
int iError = GetLastError();
Alert(iCount, " ", iError);
Sleep(500);
}

While the script was running I connected and disconnected from the Internet. The pictures show the result.

Документация по MQL5: Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков - Документация по MQL5
Files:
4kmmoy94fe.png  69 kb
 
Bene_Nota:
Yeah, it's on. I was browsing the forum a while ago and someone was explaining how to activate the Open Deleted function, so I had to switch something on somewhere in the settings...

Service-Settings-Graphics

 
Renat:

Click on "I understand the risk", request a certificate in the next step and post it here.

It should be like this:

If the information matches, then everything is fine and it's just that the browser couldn't load certificate validation for some reason. E.g. old browser or operating system without updated root certificates.

If it doesn't match, it means someone is trying to intercept your traffic with a fake certificate.

Thanks, these are the snapshots:

Files:
niuws924ic1.png  144 kb
 
This is ESET's way of "protecting" you by intercepting encrypted https traffic and tucking in its untrusted certificate. It is, in fact, conducting a Man In the Middle attack. Normally this goes unnoticed because the antivirus also puts its root certificate in the trusted ones, but something went wrong here and it misfired.

You know where the road is paved with good intentions.
Reason: