選股條件:
編寫(xiě)源碼:m60:=ma(c,60); m62:=ma(c,60)*0.98; aa:=cross(c,m60); ta:=barslast(aa); ll:=every(l>=m62,ta); ZF:=c/ref(c,ta); hf:=hhv(ZF,ta); hz:=hf>=1.2; bb:=cross(1.2,hf); tb:=barslast(bb); vv:=every(v<ref(v,tb),tb-1); xg1:=ta>tb and tb>1 and vv and ll; xg2:=c/ref(c,1)<1.05 and c>o and c/ref(c,1)>=1; fs:=m60>ref(m60,1)*1.004; cross(xg1 and ref(xg2,1) and fs,0.5) |
|