Download MetaTrader 5

IsConnected

Gets the information about connection to trade server.

bool  IsConnected() const 

Return Value

true - the terminal is connected to a trade server, otherwise - false.

Note

Connection status is defined by TerminalInfoInteger() function (TERMINAL_CONNECTED property).


Updated: 2016.05.30