FX1:=(EMA(C,14)-REF(EMA(C,14),1))/REF(EMA(C,14),1)*100;
FX2:=IF(FX1 0,REF(FX1,BARSLAST(CROSS(0,FX1))+1),0);
FX3:=IF(FX1 0,REF(FX1,BARSLAST(CROSS(0,FX1))+1),0);
DRAWLINE(CROSS(FX2,FX3),h,CROSS(FX3,FX2),L,0),LINETHICK2,ColorFF5000;
DRAWLINE(CROSS(FX3,FX2),l,CROSS(FX2,FX3),h,0),LINETHICK2,Color3522FF;