v1:=(C*2-ref(C,3)),color00ffff,linethick2;
mm5:=ema(v1,5),color4080ff,linethick2;
mm18:=ema(v1,18),colorffffff,linethick2;
{stickline(v1>mm5 and v1>ref(v1,1),v1,mm5,1,0),color00ffff,linethick2;}
cross(v1, mm18),,Color0000FF;
cross(v1, mm5),,Color0000FF;