SHORT:=12;LONG:=26;M:=9;
DIFF: EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;
DEA: EMA(DIFF,M),coloryellow;
macd: 2*(DIFF-DEA), COLORSTICK;
DRAWTEXT(crOSS( DIFF,DEA), DEA,'★金'), COLORYELLOW ;
DRAWTEXT(CROSS(DEA,DIFF), DIFF,'★死'),COLORBLUE ;
SHORT:=12;LONG:=26;M:=9;
DIFF: EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;
DEA: EMA(DIFF,M),coloryellow;
macd: 2*(DIFF-DEA), COLORSTICK;
DRAWTEXT(crOSS( DIFF,DEA), DEA,'★金'), COLORYELLOW ;
DRAWTEXT(CROSS(DEA,DIFF), DIFF,'★死'),COLORBLUE ;