S1:=(EMA(C,10)-C)/C*100;S2:=CROSS(10,S1);S3:=BArslAst(S2);S4:=S3>1 AND S3<5;S5:=S4 AND C>O;XG:S5 AND COUNT(S5,S3)=1;