涨停A:=C/REF(C,1)>1.099;
STICKLINE(涨停A,OPEN,CLOSE,3,0),COLORFF00FF;
STICKLINE(涨停A,OPEN,CLOSE,2.5,0),COLORFF00FF;
STICKLINE(涨停A,H,L,0,0),COLORFF00FF;
MA10:MA(C,5);
MA20:MA(C,10);
MA30:MA(C,20);
ZF:=((C-REF(C,1))/REF(C,1))*100;
AZF:=REF(ZF,2)< 9 OR REF(ZF,3)< 9 OR REF(ZF,4)< 9 OR REF(ZF,5)< 9;
NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);
A11:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H ;
A3:=VOL>=REF(V,1)*1.1;
A1:=REF(A11,1);
A2:=A1 AND A11;
A9:=A11 AND A3;
A4:=A2 AND A3;
XG1:=A9 OR A4;
XG:=XG1 AND AZF AND (C-REF(C,4))/REF(C,4)*100< 40 AND (C-REF(C,3))/REF(C,3)*100< 30;
龙妖因子:=BARSLASTCOUNT(XG)=1;
DRAWTEXT(龙妖因子,L,' ★龙妖因子'),COLORYELLOW;
DRAWICON(龙妖因子,L,9);