Documentationmql4 DocumentationMQL4 ReferenceAccount InformationAccountMarginAccountMarginAccountMarginReturns margin value of the current account.double AccountMargin();Returned value Margin value of the current account.Example:Print("Account margin ", AccountMargin());Last updated on 2026-06-26AccountLeverageAccountName