MT5WaitForTerminal {MetaTrader} | R Documentation |
Waits for the MetaTrader 5 Terminal to connect to a broker's server.
MT5WaitForTerminal()
Maximum waiting time is 1 minute. To check the current connection status, use MT5TerminalInfo
.
Returns TRUE if connection is established successfully, FALSE if the waiting time is exceeded.