MQL4 Reference Account Information AccountFreeMargin

MQL4 Help as One File:

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