DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)); DEF:EMA(DIF,9); MACD2:(2 * (DIF - DEF)),linethick1; STICKLINE(MACD2>=0 AND MACD2>REF(MACD2,1),0,MACD2,6,0),colorred; STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,6,1),coloryellow; STICKLINE(MACD2<0 AND MACD2<REF(MACD2,1),0,MACD2,6,0),colorgreen; STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,6,1),colorwhite;
看股 吧公式 www.kan guba.com