AccountFreeMargin - Account Information - MQL4 Reference

MQL4 Reference Account Information AccountFreeMargin

AccountFreeMargin

Returns free margin value of the current account.

double  AccountFreeMargin();

Returned value

Free margin value of the current account.

Example:

  Print("Account free margin = ",AccountFreeMargin());