AccountEquity - Account Information - MQL4 Reference

MQL4 Reference Account Information AccountEquity

AccountEquity

Returns equity value of the current account.

double  AccountEquity();

Returned value

Equity value of the current account. Equity calculation depends on trading server settings.

Example:

  Print("Account equity = ",AccountEquity());