I just experienced this error for the first time last night.
After speaking to my broker (who claimed not their problem) and a bit of googling around the 'net it's clear that nobody really understands how or why this error occurs.
In my case I was receiving the data feed, evidenced by incoming ticks that triggered my EA. The connection that receives data must be a different connection to that which places the trade. My trading is on a VPS and two instances of MT4 connected to the same server both experienced the problem, albeit one after another.
The error was ongoing for about 20 minutes as MT4 tried to reconnect every 15 seconds before I discovered the fix of "Rescan servers" in the connection menu.
My thoughts so far are that this will be difficult to code to handle because MT4 continually tries to connect to the same server rather than rescanning and choosing a different server.
What is the state of IsConnected() during this condition? I presume it is false.
Interested to hear others' thoughts on this matter.
Ta
After speaking to my broker (who claimed not their problem) and a bit of googling around the 'net it's clear that nobody really understands how or why this error occurs.
In my case I was receiving the data feed, evidenced by incoming ticks that triggered my EA. The connection that receives data must be a different connection to that which places the trade. My trading is on a VPS and two instances of MT4 connected to the same server both experienced the problem, albeit one after another.
The error was ongoing for about 20 minutes as MT4 tried to reconnect every 15 seconds before I discovered the fix of "Rescan servers" in the connection menu.
My thoughts so far are that this will be difficult to code to handle because MT4 continually tries to connect to the same server rather than rescanning and choosing a different server.
What is the state of IsConnected() during this condition? I presume it is false.
Interested to hear others' thoughts on this matter.
Ta