超级好用的MACD改变,用了一定都说好,注意黄柱变红时 就是一个绝佳的买点,再加上其它辅助条件,成功率大大提高。
DIFF:=(EMA(CLOSE,13) - EMA(CLOSE,26)),color099990;
DEA:=EMA(DIFF,9),colordd9000,LINETHICK1;
MACD:2*(DIFF-DEA),color999900,POINTDOT;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,MACD,0,8,0),COLOR9900aa;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,MACD,0,6,0),COLORaa00cc;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,MACD,0,3,0),COLORcc00ee;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,MACD,0,1,0),colordd33ff;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,MACD,0,8,0),Color666000;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,MACD,0,6,0),Color999000;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,MACD,0,2,0),Coloraaa000;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,MACD,0,1,0),Colorfff000;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,8,0),Color0aaaff;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,6,0),Color2bbbff;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,2,0),Color3dddff;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,1,0),Color5fffff;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,MACD,0,8,0),Color099000;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,MACD,0,6,0),Color0aa000;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,MACD,0,2,0),Color0cc000;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,MACD,0,1,0),Color0ff000;
DRAWICON(CROSS(dea,0) ,-0.04,1);
STICKLINE(MACD>REF(MACD,1) AND REF(MACD,2)>REF(MACD,1) AND REF(MACD,3)>REF(MACD,2) AND MACD<0.01,MACD*1.5,MACD/3,8,0 ),COLOR000fff;
STICKLINE(MACD>0 AND DEA=0,MACD,0,3,2),Color0fffff;
STICKLINE(CROSS(dea,0),0.1,0,1,0),Color00ffff;
STICKLINE(MACD>REF(MACD,1) AND REF(MACD,2)>REF(MACD,1) AND REF(MACD,3)>REF(MACD,2) AND MACD>-0.3 AND MACD<0.02,MACD*1.4,MACD/3,9,0 ),COLOR000fff;