SHORT:=6;
LONG:=9;
MID:=3;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1,COLOR0000FF;
DEA:EMA(DIF,MID);
macd:(DIF-DEA)*2,COLORSTICK;
向上:=DIF>=REF(DIF,1);
向下:=DIF
DRAWICON(crOSS(DIF,DEA) AND DIF>REF(DIF,1) AND DEA<0,DIF-0.02,7),ALIGN1;
SHORT:=6;
LONG:=9;
MID:=3;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1,COLOR0000FF;
DEA:EMA(DIF,MID);
macd:(DIF-DEA)*2,COLORSTICK;
向上:=DIF>=REF(DIF,1);
向下:=DIF
DRAWICON(crOSS(DIF,DEA) AND DIF>REF(DIF,1) AND DEA<0,DIF-0.02,7),ALIGN1;