通达信MACD,KDJ共振副图指标公式

[复制链接]
查看42 | 回复0 | 2022-7-24 08:17:26 | 显示全部楼层 |阅读模式

通达信MACD,KDJ共振副图指标公式

DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),NODRAW;
DEA:EMA(DIF,MID),NODRAW;

DRAWBAND(DIF,RGB(190,8,240),DEA,RGB(10,58,40));

MACD:=(DIF-DEA)*2,COLORSTICK;
零轴:0 ;{牛牛指标网提供 www.tdx001.com}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),NODRAW;
D:SMA(K,M2,1),NODRAW;
J:3*K-2*D,NODRAW;
A1:=CROSS(K,D);
B1:=CROSS(D,K);

DRAWICON(CROSS(K,D),DIF*1.00,23);
DRAWICON(CROSS(D,K),DIF*1.00,2);

B4:=CROSS(DIF,DEA) AND CROSS(K,D),COLORRED;
DRAWTEXT(B4,0,'★金叉共振'),COLOR0099FF;
STICKLINE(K>D,DIF,DEA,1,0),COLORRED;
STICKLINE(K<D,DIF,DEA,0.1,1),COLORGREEN;
 

09544400.jpg

09544400.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则