MQL4 Reference Account Information AccountName

MQL4 Help as One File:

AccountName

Returns the current account name.

string  AccountName();

Returned value

Name of the current account.

Example:

  Print("Account name "AccountName());