-- 作者:qq代人发帖
-- 发布时间:2021/5/25 14:37:52
-- 将策略改为突破上轨多,跌破上轨平。突破下轨空,上破下轨平。
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
|