Skip to content

Account properties

Victor Tereschenko edited this page Feb 25, 2021 · 4 revisions

AccountInfoDoubleMT5

Get account double value.

Translates into

AccountInfoDouble(|ACCOUNT_BALANCE,ACCOUNT_CREDIT,ACCOUNT_PROFIT,ACCOUNT_EQUITY,ACCOUNT_MARGIN,ACCOUNT_MARGIN_FREE,ACCOUNT_MARGIN_LEVEL.ACCOUNT_MARGIN_SO_CALL,ACCOUNT_MARGIN_SO_SO,ACCOUNT_MARGIN_INITIAL,ACCOUNT_MARGIN_MAINTENANCE,ACCOUNT_ASSETS,ACCOUNT_LIABILITIES,ACCOUNT_COMMISSION_BLOCKED|)

AccountInfoStringMT5

Get account string value.

Translates into

AccountInfoString(|ACCOUNT_NAME,ACCOUNT_SERVER,ACCOUNT_CURRENCY,ACCOUNT_COMPANY|)

AccountCompanyMT5

MT4's AccountCompany() analog.

Translates into

AccountInfoString(ACCOUNT_COMPANY)

AccountServerMT5

MT4's AccountServer() analog.

Translates into

AccountInfoString(ACCOUNT_SERVER)

AccountNameMT5

MT4's AccountName() analog.

Translates into

AccountInfoString(ACCOUNT_NAME)

AccountNumberMT5

MT4's AccountNumber() analog.

Translates into

AccountInfoInteger(ACCOUNT_LOGIN)

AccountLeverageMT5

MT4's AccountLeverage() analog.

Translates into

AccountInfoInteger(ACCOUNT_LEVERAGE)

AccountInfoIntegerMT5

Get account integer value.

Translates into

AccountInfoInteger(|ACCOUNT_LOGIN,ACCOUNT_TRADE_MODE,ACCOUNT_LEVERAGE,ACCOUNT_LIMIT_ORDERS,ACCOUNT_MARGIN_SO_MODE,ACCOUNT_TRADE_ALLOWED,ACCOUNT_TRADE_EXPERT,ACCOUNT_MARGIN_MODE,ACCOUNT_CURRENCY_DIGITS,ACCOUNT_FIFO_CLOSE|)