AccountBalance - Account Information - MQL4 Reference

MQL4 Reference Account Information AccountBalance

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());