以下是通达信KDJ新庄副图指标

通达信KDJ新庄副图指标

N:= 9 ;
M1 := 3 ;
M2 := 3 ;
M3:= 5 ;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
FASTK:=SMA(RSV,M1,1);
K:SMA(FASTK,M2,1);
D:SMA(K,M3,1);
J:3*K-2*D;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK2;
BB:=COUNT(J<REF(J,1),5)=5;
B:(REF(BB,1) AND J>=REF(J,1) AND J<30)*10,LINETHICK0;
LB:IF(B,LLV(L,10),0),LINETHICK0;
DRAWICON((REF(BB,1) AND J>=REF(J,1) AND J<30),J*0.99,5);
BIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
XG:((CROSS(K,D)AND D<16 AND BIAS<-6))*80;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
VAR1:=HHV(DEA,53);更多指标公式:www.shenqizhibiao.com
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIF-DEA);
UP:=IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1);
DN:=IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2);
DD:=DIF>UP;
EE:=DIF<DN;
IF(DIF>UP,104,DRAWNULL),LINETHICK3;
IF(DIF<DN,-5,DRAWNULL),LINETHICK3;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
 

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