rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k:=sma(rsv,3,1); d:=sma(k,3,1); bias1:=(close-ma(close,24))/ma(close,24)*100; a1:cross(k,d) and cross(k,d)<16 and bias1<-6;
含有典型的未来函数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(...
ma1:=ma(close,m1);ma2:=ma(close,m2);ma3:=ma(close,m3);ma4:=ma(close,m4);(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));{已测试,复制可直接引用,m...
tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),7);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),7);dmm:=sum(if(ld>0 and ld>hd,ld,0),7);d...