MQL4 Reference
Checkup
IsConnected
|
The function returns the status of the main connection between client terminal and server that performs data pumping. It returns TRUE if connection to the server was
successfully established, otherwise, it returns FALSE.
Sample:
if(!IsConnected())
{
Print("No connection!");
return(0);
}
// Expert body that needs the connection opened
// ...
|
|
|