DRAWGBK(1,colorrgb(0,0,200),colorrgb(50,50,0),1);
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#MONTH"(9,3,3),20),COLORFF00FF;
月D:= MA("kdJ.D#MONTH"(9,3,3),20),COLOR00FFFF;
月J:=MA("KDJ.J#MONTH"(9,3,3),20);
FILLRGN(月K>=月D,月K,月D),COLORFF00FF;
FILLRGN(月K<月D,月K,月D),COLOR888888;
DRAWICON(月K>=月D,4,10);
DRAWICON(月K>=月D,0,10);
DRAWICON(月K<月D,0,12);
周K:=MA("KDJ.K#WEEK"(9,3,3) ,5);
周D:=MA("KDJ.D#WEEK"(9,3,3) ,5);
周J: MA("KDJ.J#WEEK"(9,3,3) ,5),COLORFF00FF,LINETHICK3,POINTDOT;
PARTLINE(周J
{- }
STICKLINE(周K>=周D,周K,周D,6,0),COLOR0000FF;
STICKLINE(周K<周D,周K,周D,6,1),COLOR00FFFF;
DRAWICON(周K>=周D,96,10);
DRAWICON(周K>=周D,100,10);
DRAWICON(周K<周D,100,12);
DRAWICON(K>=D,46,13);
DRAWICON(K>=D,50,13);
DRAWICON(K>=D,54,13);
DRAWICON(K
DRAWTEXTEX(c,1,2,560,'日KDJ金叉 '),ColorFFFFFF;
DRAWTEXTEX(c,1,2,880,'月KDJ金叉 '),Color00FF00;