kdj真好---(直观)(有效)(我用它赢钱)
{kdj真好}
n:=27;M1:=3;M2:=3;
短j5:"kdj.j"(5,3,3),colorgray,linethick1;
RSV27:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K27:SMA(RSV27,M1,1),COLOR00ffff,LINETHICK3;
中K27:k27,COLOR00ffff,LINETHICK3;
D27:=SMA(K27,M2,1),COLORWHITE,LINETHICK3;
IF( K27>REF(K27,1),K27,REF(K27,1)),LINETHICK1,COLOR00ffff;
STICKLINE(K27>REF(K27,1) AND K27>50,50,K27,1,0),COLORRED;
STICKLINE(K27>REF(K27,1) AND K27>50,50,K27-4,1,0),COLORRED;
STICKLINE(K27>REF(K27,1) AND K27<50,50,K27,1,0),COLORRED;
STICKLINE(K27>REF(K27,1) AND K27<50,50,K27+4,1,0),COLORRED;
STICKLINE(K27<REF(K27,1) AND K27>50,K27,K27-5,1,-1),COLORGREEN;
STICKLINE(K27<REF(K27,1) AND K27<50,K27,K27+5,1,-1),COLORGREEN;
长d89:"kdj.d"(89,13,3),colorffff00,linethick3;
v0:0,COLOR00ff00;
v20:20,COLOR00ff00,POINTDOT;
v50:50,COLOR00ff00;
v80:80,POINTDOT,COLOR00ff00;
v100:100,COLOR00ff00;