DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))/CONST(EMA(CLOSE,26))*1000,LINETHICK0;
DEA:EMA(DIF,9),LINETHICK0;
DRAWBAND(DIF,RGB(99,33,00),DEA,RGB(0,99,99));
MACD:(DIF-DEA)*2,COLORSTICK;
N:=9;M:=3;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200-100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1,COLORWHITE;
D:SMA(K,M2,1),LINETHICK1,COLORYELLOW;
J:3*K-2*D,COLORFF00FF,LINETHICK1,COLORMAGENTA;
IF(J<-100,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>80,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>70,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,-100),J,1);
DRAWICON(K>60 AND D>60 AND CROSS(D,K),D,2);
ZJ:KDJ.J#WEEK,COLORGRAY,LINETHICK0;
YJ:KDJ.J#MONTH,COLORLIBLUE,LINETHICK0;