通达信多元MACD副图-源码带图}

[复制链接]
查看22 | 回复0 | 2022-7-24 07:25:56 | 显示全部楼层 |阅读模式

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2;
 
DEA:EMA(DIFF,9),LINETHICK2;
 
MACD:(DIFF-DEA)*2, COLORSTICK;
 
DRAWBAND(DIFF,RGB(224,224,224),DEA,RGB(255,255,96));{60F}
 
F60:EMA(CLOSE,12/2)-EMA(CLOSE,26/2),COLORCYAN;
 
A60:EMA(F60,9/2);
 
DRAWBAND(F60,RGB(0,224,224),A60,RGB(255,96,96));{30F}
 
F30:(EMA(CLOSE,12/4)-EMA(CLOSE,26/4)),COLORGREEN;
 
A30:(EMA(F30,9/4));
 
DRAWBAND(F30,RGB(0,224,0),A30,RGB(255,96,255));{15F};

946411349.jpg

946411349.jpg

 

回复

使用道具 举报

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

本版积分规则