zdf:=(c-ref(c,1))/ref(c,1)*100;kp:=o/ref(c,1)*100-100;sy:=(h/max(c,o)-1)*100;xy:=(min(c,o)/l-1)*100;低开:=-1;下影:=2;涨跌幅:=3;xg:ref(c>o and sy>0.5,1)and kp<低开 and xy>下影 and zdf>涨跌幅;别忘记点采纳了。 20210311
阳线:=c>o and c>ref(c,1);阴线:=o>c and c(c,1);选股a:阴线 and ref(阴线,1)and ref(阳线,2)and ref(阴线,3);选股b:barslastcount(阴线>0)=3 and ref(阳线,3)and ref(阴线,4)and ref(阴线,5)and ref(阳线,6)and ref(阴线,7);