以下是通达信MACD-KDJ二合一副图指标

通达信MACD-KDJ二合一副图指标

源码

50;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORFF00FF;
A:=250;
分开一:C>0,COLOR000000;
DIFF:(EMA(CLOSE,12) – EMA(CLOSE,26)),LINETHICK0,COLORFFFF00;
DEA:EMA(DIFF,9),COLORBLUE,LINETHICK0;
MACD:2*(DIFF-DEA),LINETHICK0,COLORRED;
JH:=HHV(MAX(K,MAX(D,J)),A);
DH:=HHV(MAX(DIFF,DEA),A);
SH:=INTPART(JH/DH)/2;
分开二:C>0,COLOR000000;
DIFF50:SH*DIFF+50,COLORFFFF00;
DEA50:SH*DEA+50,COLORBLUE;
STICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORRED; 
 
 

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