AccountMargin - Account Information - MQL4 Reference

MQL4 Reference Account Information AccountMargin

AccountMargin

Returns margin value of the current account.

double  AccountMargin();

Returned value

Margin value of the current account.

Example:

  Print("Account margin "AccountMargin());