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;