通达信
DIF:(EMA(C,12)-EMA(C,26)),COLORF0F0F0;
DEA:EMA(DIF,9),COLOR00DCDC;
MACD:2*(DIF-DEA),COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>=0,MACD,0,2,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,2,0),COLORMAGENTA;
KT交易师
DIF:(EMA(C,12)-EMA(C,26)),COLORF0F0F0;
DEA:EMA(DIF,9),COLOR00DCDC;
MACD:2*(DIF-DEA),COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>=0,MACD,0,6,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,0,6,0),COLORMAGENTA;