同花顺铁锅MACD指标公式

[复制链接]
查看116 | 回复0 | 2021-8-20 22:57:36 | 显示全部楼层 |阅读模式

SHORT:=13;
LONG:=77;
M:=13;
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA/2);
Zero : 0;
STICKLINE(MACD>0,MACD,0,1,1),COLOR0000AA;
STICKLINE(MACD<0,MACD,0,1,1),COLOR00880000;
PARTLINE(DIFF,DIFF>REF(DIFF,1),RGB(255,0,0),DIFF<REF(DIFF,1),RGB(0,255,0,)),LINETHICK2;
PARTLINE(DEA,DEA>REF(DEA,1),RGB(255,0,0),DEA<REF(DEA,1),RGB(255,255,255)),LINETHICK2;

202108202158.jpg

202108202158.jpg

 

回复

使用道具 举报

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

本版积分规则