- #property strict
-
- int OnInit()
- {
- return(INIT_SUCCEEDED);
- }
- void OnDeinit(const int reason)
- {
- }
- void OnTick()
- {
- Comment(
- " 账号净值:" + DoubleToString(AccountEquity(), 2) + "\n\n"+
- " 账号金额:" + DoubleToString(AccountBalance(), 2) + "\n\n"+
- " 账号浮动盈亏:" + DoubleToString(AccountProfit(), 2) + "\n\n" +
- " 总订单数量: " + IntegerToString(OrdersTotal())
- );
- }
复制代码
|