五:=MA(CLOSE,5);
十:=MA(CLOSE,10);
工作线:=MA(CLOSE,23);
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
开盘封涨停:=O/REF(C,1)<1.098;
条件2:=五>十 AND 十>工作线;
VAR1A:=crOSS(MA(CLOSE,5),MA(CLOSE,30)) AND 涨幅%>1.8;
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
抓涨停:=FILTER(VAR327>1,5);
W1:=C=HHV(C,20);
W2:=BArslAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
逆势强龙:=W4 AND COUNT(W4,5)=1;
XG9:逆势强龙 AND 抓涨停 AND 条件2 AND VAR1A AND 开盘封涨停;