MQL4 Reference Account Information AccountBalance

MQL4 Help as One File:

AccountBalance

Returns balance value of the current account.

double  AccountBalance();

Returned value

Balance value of the current account (the amount of money on the account).

Example:

  Print("Account balance = ",AccountBalance());