找回密码
 立即注册

MQL4>MQL5:帐户信息

1970-1-1 08:00| 发布者: admin| 查看: 208| 评论: 0|原作者: 文章来源MQL5官网|来自: 文章来源MQL5官网

摘要: 文章来源MQL5官网
 
MQL4
MQL5
说明
double AccountBalance()
double AccountInfoDouble(ACCOUNT_BALANCE)
AccountBalance
返回当前帐户的余额值(帐户中的资金量)。
AccountInfoDouble
double AccountCredit()
double AccountInfoDouble(ACCOUNT_CREDIT)
AccountCredit
返回当前帐户的信用值。
AccountInfoDouble
string AccountCompany()
string AccountInfoString(ACCOUNT_COMPANY)
AccountCompany
返回当前帐户注册所在的经纪公司的名称。
AccountInfoString
string AccountCurrency()
string AccountInfoString(ACCOUNT_CURRENCY)
AccountCurrency
返回当前帐户的货币名称。
AccountInfoString
double AccountEquity()
double AccountInfoDouble(ACCOUNT_EQUITY)
AccountEquity
返回当前帐户的净资产值。净资产计算取决于交易服务器设置。
AccountInfoDouble
double AccountFreeMargin()
double AccountInfoDouble(ACCOUNT_FREEMARGIN)
AccountFreeMargin
返回当前帐户的可用预付款值。
AccountInfoDouble
double AccountFreeMarginCheck(string symbol,
                              int cmd,
                              double volume)
-
AccountFreeMarginCheck
返回当前帐户中以当前价格建立指定仓位之后剩下的可用预付款。
double AccountFreeMarginMode()
-
AccountFreeMarginMode
允许在当前帐户中建仓的可用预付款的计算模式。
int AccountLeverage()
int AccountInfoInteger(ACCOUNT_LEVERAGE)
AccountLeverage
返回当前帐户的杠杆。
AccountInfoInteger
double AccountMargin()
double AccountInfoDouble(ACCOUNT_MARGIN)
AccountMargin
返回当前帐户的预付款值。
AccountInfoDouble
string AccountName()
string AccountInfoString(ACCOUNT_NAME)
AccountName
返回当前帐户的名称。
AccountInfoString
int AccountNumber()
int AccountInfoInteger(ACCOUNT_LOGIN)
AccountNumber
返回当前帐户的帐号。
AccountInfoInteger
double AccountProfit()
double AccountInfoDouble(ACCOUNT_PROFIT)
AccountProfit
返回当前帐户的盈利值。
AccountInfoDouble
string AccountServer()
string AccountInfoString(ACCOUNT_SERVER)
AccountServer
返回所连接服务器的名称。
AccountInfoString
int AccountStopoutLevel()
double AccountInfoDouble(ACCOUNT_MARGIN_SO_SO)
AccountStopoutLevel
返回止损离场水平值。
AccountInfoDouble
int AccountStopoutMode()
int AccountInfoInteger(ACCOUNT_MARGIN_SO_MODE)
AccountStopoutMode
返回止损离场水平的计算模式。
AccountInfoInteger

路过

雷人

握手

鲜花

鸡蛋

QQ|Archiver|小黑屋|www.mtctp.com |

GMT+8, 2024-10-22 16:45 , Processed in 0.030971 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

返回顶部