LY:=BARSLASTCOUNT(C>O);
YX:=REF(C,1)/C>=1.023 AND C<O AND H<REF(H,1) AND L<REF(L,1);
T:=BARSLAST(YX);
ZF:=(C-REF(C,1))/REF(C,1)*100;
A:=EVERY(BETWEEN(ZF,-5,5) AND VOL<REF(VOL,T),T);
A1:=C>=REF((O-C)*7/9+C,T)AND VOL=HHV(VOL,T) AND VOL>REF(VOL,1);
A2:=BRAR.AR*1.06>BRAR.BR AND BRAR.AR>=REF(BRAR.AR,2);
A3:=VR.VR*1.03>=VR.MAVR AND MACD.DEA=HHV(macd.DEA,3);
A4:=C/MA(C,20)*100;
A5:=IF(EXIST(L>REF(H,1),2),HSL>0,HSL>3 AND HSL<12);
SY:=H/MAX(C,O)*100 ;
ST:=MAX(C,O)/MIN(C,O)*100;
A7:=IF(ST>107,SY<100.95,SY>0)AND LY<7;
A6:=A1 AND A2 AND A3 AND A4<110.35 AND A5 AND A7;
XG:T>3 AND REF(A,1) AND COUNT(A1,T+1)=1 AND A6 AND T<17;