- 注册时间
- 2013-3-25
- 最后登录
- 2013-3-29
- 阅读权限
- 10
- 积分
- 13
- 精华
- 0
- 帖子
- 1

|
#trade
myclose: RefData('000300.sh', D_CLOSE, Default, 1);
bEnterLong := (myclose[0]/myclose[1])>1;
bEnterShort := (myclose[0]/myclose[1])<1;
if bEnterLong then Buy;
if bEnterShort then SellShort;
发现作为指标的时候,没问题。myclose显示为沪深300收盘价。 但在智能策略测评中,myclose显示为下一周期的收盘价。
使用 "sh000300$close" 时,也有同样的问题。
版本:201303221903(411)
|
|