rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;dd:=llv(j,20);bl:l=llv(l,20) and j>dd and j<k and j<ref(j,1);
zz:=if(ref(c,1)>ref(o,1) and o>ref(c,1)*1.014 and c<o*1.02,1,3);v5:=ma(v,5);v12:=ma(v,12);v34:=ma(v,34);c6:=ma(c,6);cross(c,c6) and v>v5*1.2 and v>v12*1.2 and zz>2 and c>h*0.975;
含有典型的未来函数zig,会造成信号漂移,谨慎使用。选股代码如下: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(...