M:=22;
N:=250;
MANX:=MA(C,250);
SCTS:=BArslAST(crOSS(C,MANX));
XG1:=SCTS>M;
Ymacd:=MacD.MACD#MONTH;
ZDIF:=MACD.DIF#WEEK;
ZDEA:=MACD.DEA#WEEK;
XG2:=YMACD>0 AND ZDIF>=0 AND ZDEA>=0;
XG3:=REF(L,1)/MANX<1.08;
XG:XG3 AND XG2 AND XG1 AND O>MANX AND L