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;
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));