通达信至尊慢KDJ指标公式
2021/2/18 18:36:30
N:=5;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
顶轴:100, COLOR00FF00 ,LINETHICK2;
底轴:5, COLOR00FF00 ,LINETHICK2;
抢钱轴:-10, POINTDOT,LINETHICK2;
DRAWTEXT(CROSS(J,顶轴) ,100,'大出'), COLORYELLOW;
DRAWTEXT(CROSS(底轴,J) ,0,'大进'), COLORRED;
DRAWTEXT(CROSS(抢钱轴,J) ,-5,'狂进'), COLORWHITE;
DRAWICON(CROSS(K,D),K*0.97,1);
DRAWICON(CROSS(D,K),D*0.97,2);
BDDD:=LLV(J,2)=LLV(J,8);
买:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);
最佳买入时机: IF(CROSS(J,3),1,0),STICK,COLORFFFF00;
STICKLINE(最佳买入时机,0,1,3,0),COLOR999900;
{STICKLINE(最佳买入时机,0,5,3.5,0),COLORBBBB00;}
STICKLINE(最佳买入时机,0,1,2,0),COLORDDDD00;
STICKLINE(最佳买入时机,0,1,1,0),COLORFFFF00;
投 股票网 www.t ou18.cn
股市公式下载推荐