- 精华
- 1
- 在线时间
- 165 小时
- UID
- 7
- 积分
- 15417
- 帖子
- 216
- 阅读权限
- 150
- 注册时间
- 2007-7-21
- 最后登录
- 2007-11-22
中级操盘手
Auto Trading Learner
- 精华
- 1
- UID
- 7
- 积分
- 15417
- 帖子
- 216
- 主题
- 26
- 阅读权限
- 150
- 注册时间
- 2007-7-21
- 最后登录
- 2007-11-22
|
TotalEquity = CurrentCapital()+ Abs(CurrentContracts())*Close*ContractUnit*MarginRatio()*BigPointValue();
用上面的这个在做历史数据测试的时候可以。
我现在要做模拟交易
改为:A_CurrentEquity()== A_FreeMargin()+ Abs(CurrentContracts()*Close*ContractUnit()*BigPointValue()*2*MarginRatio());
请问这样对不对? |
|