I am not sure that it helps but it is what I found -
IsConnected - expert for MetaTrader 5
IsConnected
- www.mql5.com
Checks if Metatrader5 Terminal is connected to Internet or not. The expert will Print a message for the connectivity status
Sergey Golubev #:
thanks for the response, but i am talking about the code not an EA, i am trying to add the code into a custom EA.
I am not sure that it helps but it is what I found -
IsConnected - expert for MetaTrader 5
IsConnected returns the current state. But when the network goes down, it will take ~30 seconds until the timeout/retry fails and the state changes.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi there beautiful people.
i am currently trying to make an EA check if connection to internet is been active or not so as to delete an object on the chart. eg. lets say whenever the user connects his computer to the internet i wan to be able to know and create an object to the chart and also delete an object when internet connection is no longer avaliable. any help with the code please?