{周k线缩量十字星收盘在10周线上并且10周线拐点向上。}xg: abs((close-open)/open)<0.015 and close>ma(close,10) and ma(close,10)>ref(ma(c,10),1) and (ref(ma(c,10),1)<ref(ma(c,10),2));{说明:1选股周期为周线,2加入条件}
{4背离}n:=60;k值:=kdj.k;dd:=c=llv(c,n);ddsj:=barslast(ref(dd,1));ddgj:=ref(close,ddsj+1)>close;kdzb:=ref(k值,ddsj+1)<k值;k底背离:=ddgj and kdzb;{macd指标趋势}macd:=macd.macd;mdzb:=ref(macd,ddsj+1)<macd;m...
aa1:=filter(low=llv(low,13),8);aa2:=if(llv(low,3)=llv(low,13) and close<ref((high+low)/2,1),max(ref(llv(low,12),barslast(aa1)+1)-low,0),0);aa3:=ema(aa2,3)*3;aa4:=sumbars(aa3>0,21);aa5:=sum(aa3,a...