MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
MA7:MA(CLOSE,M7);
TJ1:=MA(C,5);
TJ2:=MA(C,10);
TJ3:=MA(C,20);
TJ4:=MA(C,60);
X1:=ABS(MA(C,5)/MA(C,10)-1)<=0.036;
X2:=ABS(MA(C,10)/MA(C,20)-1)<=0.036;
X3:=ABS(MA(C,20)/MA(C,30)-1)<=0.036;
XX:=X1 AND X2 AND X3;
LJZF:=(C-REF(C,75))/REF(C,75)*100<32;
振幅:=(HHV(H,75)-LLV(L,75))/LLV(L,45)<=0.28;
ZDDF:=(L-REF(C,1))/REF(C,1)<-0.05;
新法:=SUM((C-REF(C,1))/REF(C,1)*100,75)<28;
DXZF:=(C-REF(C,7))/REF(C,7)*100<5;
QY:=(REF(C,1)-C)/REF(C,1)<=0.0238;
QY1:=(REF(C,1)-C)/REF(C,1)<=0.012;
去除科创板:=IF(CODELIKE('688'),0,1) AND C>DTPRICE(REF(C,1),0.1);
去除创业板:=IF(CODELIKE('300'),0,1) AND C>DTPRICE(REF(C,1),0.1);
去除ST和停牌:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR DYNAINFO(4)=0);
XG:XX AND 去除ST和停牌 AND REF(LJZF,1)=1 AND REF(新法,1)=1
AND COUNT(ZDDF,75)<=1 AND REF(LJZF,1)=1 AND REF(DXZF,1)=1
AND REF(C,3)/REF(C,4)>1.0328 AND REF(C,2)<REF(C,3) AND REF(C,1)<REF(C,2)
AND REF(QY,2)=1 AND REF(QY1,1)=1
AND REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,1) AND C/REF(C,1)>1.0408
AND REF(L,2)>REF(L,3) AND REF(L,1)>REF(L,3) AND L>REF(L,3) AND C>REF(H,3)
AND V=HHV(V,75)
AND TJ1>REF(TJ1,1) AND TJ1>TJ2 ;
DRAWICON(XG,L*1.01,13);