TAG:KDJ 大智慧

 网友求助:

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(C>0,5,-4,2,1),COLOR00FF00;
STICKLINE(C>0,118,125,2,1),COLOR00FF00;
STICKLINE(C>0,128,135,2,1),COLOR00FF00;
STICKLINE(C>0,138,145,2,1),COLOR00FF00;
KD金叉: K>=D POINTDOT;
日K拐点:K>=REF(K,1) POINTDOT;
STICKLINE(K>=REF(K,1) ,5,-4,2,0),COLORFF00FF;
周K:=MA("KDJ.K#WEEK"(9,3,3) ,5),COLOR00FFFF,LINETHICK0;
周D:=MA("KDJ.D#WEEK"(9,3,3) ,5);
STICKLINE(周K>=周D, 周D, 周K,2,1),COLORRED;
STICKLINE(周K<周D, 周D, 周K,2,1),COLOR00FF00;
STICKLINE(K>=D, D, K,1.5,1),COLORF686F6;
STICKLINE(K<D, D, K,1.5,1),COLORCCDD66;
J:3*K-2*D,COLORFF00FF;
周KD金叉:周K>= 周D POINTDOT;
周K拐点:周K>=REF(周K,1) POINTDOT;
周J:MA("KDJ.J#WEEK"(9,3,3) ,5),COLOR0000FF;
STICKLINE(周J>=REF(周J,1),138,145,2,0),COLOR0000FF;
STICKLINE(周K>=REF(周K,1),128,135,2,0),COLOR0000FF;
STICKLINE(周K>=周D,118,125,2,0),COLORRED;
 

 

解答如下:

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(C>0,5,-4,2,1),COLOR00FF00;
STICKLINE(C>0,118,125,2,1),COLOR00FF00;
STICKLINE(C>0,128,135,2,1),COLOR00FF00;
STICKLINE(C>0,138,145,2,1),COLOR00FF00;
日KD金叉: K>=D ,POINTDOT;
日K拐点:K>=REF(K,1) ,POINTDOT;
STICKLINE(K>=REF(K,1) ,5,-4,2,0),COLORFF00FF;
周K:MA("KDJ.K#WEEK"(9,3,3) ,5),COLOR00FFFF,LINETHICK0;
周D:MA("KDJ.D#WEEK"(9,3,3) ,5);
STICKLINE(周K>=周D, 周D, 周K,2,1),COLORRED;
STICKLINE(周K<周D, 周D, 周K,2,1),COLOR00FF00;
STICKLINE(K>=D, D, K,1.5,1),COLORF686F6;
STICKLINE(K<D, D, K,1.5,1),COLORCCDD66;
J:3*K-2*D,COLORFF00FF;
周KD金叉:周K>= 周D, POINTDOT;
周K拐点:周K>=REF(周K,1) ,POINTDOT;
周J:MA("KDJ.J#WEEK"(9,3,3) ,5),COLOR0000FF;
STICKLINE(周J>=REF(周J,1),138,145,2,0),COLOR0000FF;
STICKLINE(周K>=REF(周K,1),128,135,2,0),COLOR0000FF;
STICKLINE(周K>=周D,118,125,2,0),COLORRED;