MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Account information  AccountName

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
string AccountName( )
Returns the current account name.
Sample:
Print("Account name ", AccountName());