指标源码:
A1:="KD.K"(9,3,3); A2:="KD.D"(9,3,3); 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#WEEK"(9,3,3),5); 周D:=MA("KDJ.D#WEEK"(9,3,3),5); 周J:MA("KDJ.J#WEEK"(9,3,3),5),COLOR00FF00,LINETHICK2; IF(C>0,50,DRAWNULL),COLOR00FF00,LINETHICK6; IF(周K>=周D,50,DRAWNULL),COLORFF00FF,LINETHICK6;
STICKLINE(周K>=周D,周K,周D,1,1),COLORFF00FF; STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF; IF(周J>=REF(周J,1),周J,DRAWNULL),COLORRED,LINETHICK2;
持币:STICKLINE(C>0,-5,-10,2,1),COLORLIGREEN; 持股:STICKLINE(周K>=REF(周K,1),-10,0,2,0),COLOR0000FF;
|