Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
A small clarification regarding the definition of the terminal type in the constructor:
this.m_long_prop[ACCOUNT_PROP_SERVER_TYPE] = (::TerminalInfoString(TERMINAL_NAME)=="MetaTrader 5" ? 5 : 4);It would probably be more correct to write it like this:
this.m_long_prop[ACCOUNT_PROP_SERVER_TYPE] = (::StringFind(TerminalInfoString( TERMINAL_NAME), "MetaTrader 5") != -1 ? 5 : 4);
Since the broker's name may also appear there....
Since the broker's name may also appear there....
Can you please send me a link to a broker where this happens?