Documentationmql4 DocumentationMQL4 ReferenceAccount InformationAccountNameAccountNameAccountNameReturns the current account name.string AccountName();Returned value Name of the current account.Example:Print("Account name ", AccountName());Last updated on 2026-06-26AccountMarginAccountNumber