- 精华
- 0
- 在线时间
- 693 小时
- UID
- 31697
- 积分
- 671
- 帖子
- 137
- 阅读权限
- 60
- 注册时间
- 2011-4-2
- 最后登录
- 2020-10-8
- 精华
- 0
- UID
- 31697
- 积分
- 671
- 帖子
- 137
- 主题
- 13
- 阅读权限
- 60
- 注册时间
- 2011-4-2
- 最后登录
- 2020-10-8
|
在《TRADEBLAZER公式开发指南》第105页示例,Max(HighestAfterEntry,AvgEntryPrice)中的HighestAfterEntry无引用的方括号,则在此语句中HighestAfterEntry代表HighestAfterEntry[1]还是HighestAfterEntry[0]?- If(MarketPosition <> 0)
- {
- HighestAfterEntry = Max(HighestAfterEntry,AvgEntryPrice); // 开仓的 Bar,将开
- 仓价和当时的收盘价的较大值保留到 HighestAfterEntry
- LowestAfterEntry = Min(LowestAfterEntry,AvgEntryPrice); // 开仓的 Bar,将开
- 仓价和当时的收盘价的较小值保留到LowestAfterEntry
- }
复制代码 |
|