DIF1:(2*EMA(CLOSE, 12)-EMA(EMA(CLOSE,12),12))-(2*EMA(CLOSE, 26)-EMA(EMA(CLOSE, 26),26));
DEA1:2*EMA(DIF1, 9) - EMA(EMA(DIF1, 9),9);
macd1:3*(DIF1-DEA1);
B点:cross(DIF1,DEA1),linethick0;
DRAWICON(B点,MacD1,6),ALIGN1;
0,DOTLINE,coloryellow;
DIF1:(2*EMA(CLOSE, 12)-EMA(EMA(CLOSE,12),12))-(2*EMA(CLOSE, 26)-EMA(EMA(CLOSE, 26),26));
DEA1:2*EMA(DIF1, 9) - EMA(EMA(DIF1, 9),9);
macd1:3*(DIF1-DEA1);
B点:cross(DIF1,DEA1),linethick0;
DRAWICON(B点,MacD1,6),ALIGN1;
0,DOTLINE,coloryellow;