MQL4 Account Information
Overview
Provides functions to retrieve parameters of the current trading account.
Functions
AccountInfoDouble(property_id)**: Returns a double value for a specified account property.AccountInfoInteger(property_id)**: Returns an integer (bool, int, or long) value for a specified account property.AccountInfoString(property_id)**: Returns a string value for a specified account property.AccountBalance()**: Returns the current account balance.AccountCredit()**: Returns the current account credit.AccountCompany()**: Returns the name of the brokerage company.AccountCurrency()**: Returns the currency name of the account.AccountEquity()**: Returns the current account equity.AccountFreeMargin()**: Returns the current free margin.AccountFreeMarginCheck(order_type, symbol, volume)**: Returns the free margin after opening a specified position.AccountFreeMarginMode()**: Returns the calculation mode for free margin.AccountLeverage()**: Returns the current account leverage.AccountMargin()**: Returns the current account margin.AccountName()**: Returns the current account name.AccountNumber()**: Returns the current account number.AccountProfit()**: Returns the current account profit.AccountServer()**: Returns the connected server name.AccountStopoutLevel()**: Returns the Stop Out level value.AccountStopoutMode()**: Returns the calculation mode for the Stop Out level.Data Types
AccountInfoDouble returns double.AccountInfoInteger returns bool, int, or long.AccountInfoString returns string.Platform Support
Related Resources
Previous
arrow_back
Year