ls:收盘价/昨收>1.3 and 收盘价=最高价 and 量(手)的5日线性预测值位于0.5*成交量(手)的15日线性回测值和3.1*成交量(手)的15日线性回归预测值之间输出拉升:ls的15日过滤*100 and 最低价>昨收*0.72forcast:线性回归预测值,是未来函数.概括讲不是实际发生的值,也就是预测或估算出的值。 20210311
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) an...
var2:=trou**ars(3,15,1)<10;var3:=peakbars(3,15,1)<10;var4:=if(var2=1,50,0);var5:=if(var3=1,50,0);底部:=if(var4=50,10,0);买入:=if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0);选股:买入=50;