通达信风云变色公式

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

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),COLORRED;
 DEA  : EMA(DIFF,MID);
 MACD :2*(DIFF-DEA),STICK;
 STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0.5,0),COLOR5454FF;
 STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0.5,0),COLORYELLOW;
 STICKLINE(MACD<0 AND MACD<=REF(MACD,1),0,MACD,0.5,0),COLORFFFF54;
 STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,0.5,0),COLORFF8000;
 A:IF(DIFF<REF(DIFF,1),DIFF,DRAWNULL),COLORWHITE;

 

参数看下图

850433289.png

850433289.png

851122209.png

851122209.png

回复

使用道具 举报

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

本版积分规则