花生网
标题:
发现 refdata 有bug
[打印本页]
作者:
luckylwq99
时间:
2013-3-28 14:00
标题:
发现 refdata 有bug
#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)
作者:
m18806660
时间:
2013-4-1 19:00
如何升级,得分?
欢迎光临 花生网 (http://hs633.com/)
Powered by Discuz! X2