当前位置:首页 > MQL4开发人员手册

账户信息 [Account Information]

时间:2008-09-28 14:49:58  来源:  作者:

账户信息 [Account Information]

<-- begin content -->

double AccountBalance()
返回账户余额
示例:

Print("Account balance = ",AccountBalance());

double AccountCredit()
返回账户信用点数
示例:
Print("Account number ", AccountCredit());

string AccountCompany()
返回账户公司名
示例:
Print("Account company name ", AccountCompany());

string AccountCurrency()
返回账户所用的通货名称
示例:
Print("account currency is ", AccountCurrency());

double AccountEquity()
返回资产净值
示例:
Print("Account equity = ",AccountEquity());

double AccountFreeMargin()
Returns free margin value of the current account.
示例:
Print("Account free margin = ",AccountFreeMargin());

int AccountLeverage()
返回杠杆比率
示例:
Print("Account #",AccountNumber(), " leverage is ", AccountLeverage());

double AccountMargin()
Returns margin value of the current account.
示例:
Print("Account margin ", AccountMargin());

string AccountName()
返回账户名称
示例:
Print("Account name ", AccountName());

int AccountNumber()
返回账户数字
示例:
Print("account number ", AccountNumber());

double AccountProfit()
返回账户利润
示例:
Print("Account profit ", AccountProfit());

来顶一下
近回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
This site was designed & Modified by beok.net. Last ModiMon, 08/11/2008 0:05 AMe --> Beijing Time.