This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
IsConnected() reports false when restarting from hibernationBack to topics list |
|
PaulHampton-Smith
2006.11.27 17:01
I think I have this correct: I move my trading laptop regularly between two locations, each with a wireless connection. WHen I do this, I put my laptop into hibernation (a Windows XP shutdown option). I also use OrderReliable, which is an include which attempts to retry entries and exits whenever there is a retryable error. One of the features of OrderReliable is that it checks for IsConnected(). And whenever I restart my laptop from hibernation in a new location, I get errors from OrderReliable saying that IsConnected() is false.
This appears to be a bug with IsConnected(): whenever a connection is re-established, for whatever reason, IsConnected() should report true. It is possible that IsTradeAllowed() also suffers from the same problem. |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
