n:=13;n2:=80;n3:=5;
A1:=SUM(vol,N)/FINANCE(7);
A2:=MA(A1,1);
A3:=MA(A1,N);
A4:=BArslAST(crOSS(A2,A3));
A5:=(C-O)/O;
A6:=(MA(CLOSE,N2)-MA(CLOSE,N3))/MA(CLOSE,N3);
XG:A4>0 AND A4<=25 AND BARSLAST(A5>=0.03)<4 AND A6>=0.30
OR A4=1 AND BARSLAST(A5>=0.03)<=25 AND A6>=0.3;