RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORMAGENTA;
月K:MA("KDJ.K#MONTH"(9,3,3) ,21),COLORGREEN;
月D:MA("KDJ.D#MONTH"(9,3,3) ,21),COLORYELLOW;
月J:MA("KDJ.J#MONTH"(9,3,3) ,21),COLORRED;
DRAWBAND(月D,RGB(0,60,40),月J,RGB(110,10,10));
周K:MA("KDJ.K#WEEK"(9,3,3),5),COLOR009900;
周D:MA("KDJ.D#WEEK"(9,3,3),5),COLOR009900;
周J:MA("KDJ.J#WEEK"(9,3,3),5),COLOR000099;
DRAWBAND(周D,RGB(0,60,0),周J,RGB(140,10,70));