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),POINTDOT,LINETHICK1,COLORWHITE;
周D:MA("kdJ.D"(9,3,3) ,5),POINTDOT,LINETHICK1,COLOR33FF99;
周J:MA("KDJ.J"(9,3,3) ,5),POINTDOT,LINETHICK1,COLOR00FF00;
{- }
周金▲:DRAWTEXT(crOSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) ,8,'▲'),COLORRED;
周死▼:DRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)) ,92,'▼'),COLORGREEN;
月金▲:DRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) ,0,'▲'),COLOR00FF00;
月死▼:DRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)) ,100,'▼'),COLORYELLOW;