N:=6;A:=5;R:SMA(MAX((2*CLOSE+HIGH+LOW)/4-REF((2*CLOSE+HIGH+LOW)/4,1),0),N,1)/SMA(ABS((2*CLOSE+HIGH+LOW)/4-REF((2*CLOSE+HIGH+LOW)/4,1)),N,1)*100;STICKLINE(R>=REF(R,1),R,0,8,0),colormagenta;STICKLINE(RSTICKLINE(R>MA(R,A),R,MA(R,A),9,0),coloryellow;