RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
周K:MA("kdj.K"(9,3,3),5),LINETHICK2,COLORWHITE;
周D:MA("kdJ.D"(9,3,3),5),LINETHICK2,COLOR33FF99;
周J:=MA("KDJ.J"(9,3,3),5),LINETHICK1,COLOR00FF00;
周金▲:DRAWTEXT(crOSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),8,1),COLORRED;
{- }
周死▼:DRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),92,2),COLORGREEN;
月金▲:DRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),0,1),COLOR00FF00;
月死▼:DRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),100,2),COLORYELLOW;