VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:= (VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D: MA(J,3),COLORYELLOW,LINETHICK2;
K: MA(J,1),COLORFA05FF,LINETHICK2;
STICKLINE(K>D,K,D,4,1),COLORRED,LINETHICK3;
STICKLINE(K<D,K,D,4,1),COLORDBDB70,LINETHICK3;
DRAWICON(CROSS(K,D),K,1),COLORGREEN;
DRAWICON(CROSS(D,K),D,2),COLORGREEN;