N:=6;
A1:=kdj.J<100;
A2:=crOSS(dmi.pdi(7,7),DMI.mdi(7,7)) AND trix.TRIX(3,3)>TRIX.maTRIX(3,3);
A4:=CAPITAL/1000000<50 ;
A3:=C>SAR.sar AND (C-SAR.SAR)/SAR.SAR*100>1 AND (C-SAR.SAR)/SAR.SAR*100<=N;
A5:=SUM(HSL,10)<19 AND macd.MacD>REF(MACD.MACD,1) AND MACD.DIF>REF(MACD.DIF,2);
A6:=IF(C<O,REF(C<O,1),C>O);
A7:=mtm.MTM+0.05>=MTM.MTMMA;
XG:A1 AND A2 AND A4 AND A3 AND A5 AND A7 AND A6;