MQL4参考 账户信息 AccountNumber
Returns the current account number.
int AccountNumber();
Returned value
The current account number.
Example:
Print("Account number ", AccountNumber());