STICKLINE(MACD 0,50,50+MACD,0,1),COLORLIBLUE;
TYP:=(HIGH+LOW+CLOSE)/3;
RSV:=(TYP-MA(TYP,14.14))/(0.015*AVEDEV(TYP,14.14));
K:EMA(RSV,3);
D:EMA(K,3);
J:3*K-2*D;
0,POINTDOT,COLORWHITE;
DRAWBAND(J,RGB(200,0,200),K,RGB(0,0,200));
DRAWBAND(D,RGB(0,200,0),J,RGB(200,0,200));
DRAWBAND(K,RGB(0,0,200),D,RGB(200,200,0));
DRAWICON(J REF(J,1) AND REF(J,1) REF(J,2),REF(J,1),1);
DRAWICON(J REF(J,1) AND REF(J,1) REF(J,2),REF(J,1),2);
DRAWICON(CROSS(K,D),J,11);
DRAWICON(CROSS(D,K),REF(J,1),12);