以下是通达信KD-罗威高低挡 钝化讯号指标

根据台湾KD指标高手罗威对KD指标的见解改编

N:=9;M1:=3;M2:=3;
 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
 {KD乘离:(SMA(RSV,M1,1)-SMA(SMA(RSV,M1,1),M2,1))*2,COLORSTICK;}
 K:SMA(RSV,M1,1);
 D:SMA(K,M2,1);
 J:=3*K-2*D;
 IF(K>REF(K,1),K,DRAWNULL),LINETHICK3,COLORRED;
 IF(D>REF(D,1),D,DRAWNULL),LINETHICK2,COLORLIBLUE;
 STICKLINE(1,20,20,100,0),COLORLIGRAY;
 STICKLINE(1,50,50,100,0),COLORCYAN;
 STICKLINE(1,80,80,100,0),COLORLIGRAY;
 IF(COUNT(K>80,3)=3,90,DRAWNULL),POINTDOT,COLORBLUE,LINETHICK7;
 IF(COUNT(K>80,1)=1,90,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4;
 IF(COUNT(K<20,3)=3,10,DRAWNULL),POINTDOT,COLORBLUE,LINETHICK8;
 IF(COUNT(K<20,1)=1,10,DRAWNULL),POINTDOT,COLORLIMAGENTA,LINETHICK4;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。