【WLMACD】看看这个好玩不?(有图有代码)

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

【WLMACD】看看这个好玩不?(有图有代码)

DIF:=POW(EMA(CLOSE,12),2)-POW(EMA(CLOSE,26),2);
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*3,NODRAW;
DRAWBAND(MACD,90,0,RGB(39,139,39));
M5:MA(MACD,5);
STICKLINE(MACD>DIF AND MACD>REF(MACD,1),MACD,M5,0,0),COLORRED;
STICKLINE(MACD>DIF AND MACD<REF(MACD,1),MACD,M5,0,0),COLORCYAN;
STICKLINE(MACD<DIF AND MACD<REF(MACD,1),MACD,M5,0,0),COLORCYAN;
STICKLINE(MACD<DIF AND MACD>REF(MACD,1),MACD,M5,0,0),COLORRED;
DIF1:DIF,COLORWHITE;
DEA1:DEA,COLORLIMAGENTA;
DRAWICON(C>REF(C,1) AND MACD>REF(MACD,1) AND DIF>REF(DIF,1) AND DYNAINFO(17)>1.5,DIF,26);
 

2211411369.jpg

2211411369.jpg

2211511833.jpg

2211511833.jpg

 

回复

使用道具 举报

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

本版积分规则