AccountName - Account Information - MQL4 Reference

MQL4 Reference Account Information AccountName

AccountName

Returns the current account name.

string  AccountName();

Returned value

Name of the current account.

Example:

  Print("Account name "AccountName());