| | | | 以下是通达信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;
| | | | |
|