MQL4 Reference Account Information AccountCredit
Returns credit value of the current account.
double AccountCredit();
Returned value
Credit value of the current account.
Example:
Print("Account number ", AccountCredit());