A:=MA(CLOSE,17)+Abs(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=EMA(C,250); S:=B-(EMA(C,3)-B); crOSS(A,S);