STICKLINE(MACD1 0,0,MACD1,7,0),colorE20000;
DIFF2:=EMA(CLOSE,5)-EMA(CLOSE,13);
DEA2:=EMA(DIFF2,8);
MACD2:=2*(DIFF2-DEA2);
STICKLINE(MACD2 0,0,MACD2,7,0),colorFFFF;
STICKLINE(MACD2 0,0,MACD2,7,0),colorFF8500;
DIFF3:=EMA(CLOSE,10)-EMA(CLOSE,21);
DEA3:=EMA(DIFF3,8);
MACD3:=2*(DIFF3-DEA3);
STICKLINE(MACD3 0,0,MACD3,7,0),colorBBFF;
STICKLINE(MACD3 0,0,MACD3,7,0),colorFFC300;
DIFF4:=EMA(CLOSE,20)-EMA(CLOSE,34);
DEA4:=EMA(DIFF4,8);
MACD4:=2*(DIFF4-DEA4);
STICKLINE(MACD4 0,0,MACD4,7,0),colorFF;
STICKLINE(MACD4 0,0,MACD4,7,0),colorFFFF80;
DIFF5:EMA(CLOSE,10)-EMA(CLOSE,21);
DEA5:EMA(DIFF5,9);
EXPLAIN(MACD0 0 AND MACD0 MACD2,'量价配合良好,可以关注了'),colorFFFF00;
EXPLAIN(MACD1 0 AND MACD1 MACD2,'量价配合较好,可以买入了'),colorFF00FF;
EXPLAIN(MACD2 0,'量价配合很好,可以安全买入'),colorFFFF;
EXPLAIN(MACD0 MACD1 AND MACD1 MACD2 AND MACD4 0,'阳春!已经获利了,请安全退出!'),colorFF;