AccountServer - Account Information - MQL4 Reference

MQL4 Reference Account Information AccountServer

AccountServer

Returns the connected server name.

string  AccountServer();

Returned value

Connected server name.

Example:

  Print("Server name is "AccountServer());