DIF:EMA(CLOSE,10)-EMA(CLOSE,22);
DEA:EMA(DIF,7.5);
MACD:(DIF-DEA)*2,COLORSTICK;
FNKD:=MACD*0.6;
KDA:=CROSS(FNKD,DEA);
STICKLINE(KDA,MACD,0,3,0) ,COLOR00FF00;
STICKLINE(DEA>FNKD,MACD,0,1,0) ,COLOR009999;
STICKLINE(MACD<0,0,MACD,1,0) ,COLORFFF000;
STICKLINE(KDA AND DEA<0,MACD,0,3,0) ,COLOR0000FF;
(南方財富網(wǎng)SOUTHMONEY.COM)