MQL4参考 账户信息 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());