LastH:CALLSTOCK('',vtHIGH,6,-1);
lastL:CALLSTOCK('',vtLOW,6,-1);
if cross(c,lastH) then
begin
SELLSHORT(holding<0,holding,market);
buy(holding=0,1,market);
END
if cross(lastL,l) then
begin
SELL(holding>0,holding,market);
BUYSHORT(holding=0,1,market);
END
将策略改为突破上轨多,跌破上轨平。突破下轨空,上破下轨平。

此主题相关图片如下:4.png
已回复,参考连接:http://www.weistock.com/bbs/dispbbs.asp?boardid=4&Id=188462