DIF:=EMA(CLOSE,18)-EMA(CLOSE,40);DEA:=EMA(DIF,3);:=(DIF-DEA)*2;MD:=MACD#DAY;MW:=MACD#WEEK;MM:=MACD#MONTH;MS:=MACD#SEASON;MACD1:EMA((MD+MW*7+MM*31+MS*94)/133,5) LINETHICK2 COLORYELLOW NODRAW;STICKLINE(MACD1>0,MACD1,0,3,1),COLORRED;STICKLINE(MACD1<0 BARSLAST(MACD1=HHV(MACD1,120))),COLORRED,LINETHICK2;MACD250:REF(MACD1/2,BARSLAST(MACD1 HHV(MACD1,250))),COLORWHITE,LINETHICK2;XG:=NOT(REF(MACD120,1)>=MACD250,MACD250,MACD1,2,0),COLORMAGENTA; {画粉柱 250}大:=NOT(REF(MACD120,1)=REF(MACD250,1)) AND MACD120=MA