IF(DIF REF(DIF,1),DIF,DRAWNULL),COLORRED;
IF(DEA REF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORGREEN;
IF(DEA REF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORRED;
A:STICKLINE(MACD REF(MACD,1),0,MACD,1,0),COLORGREEN;
B:STICKLINE(MACD REF(MACD,1) AND REF(MACD,1) REF(MACD,2),0,MACD,1,0),COLORYELLOW;
绿面:10*IF (MACD 0,SUM(MACD,BARSLAST(MACD 0)),0),LINETHICK0,COLOR00FF00,NODRAW;
红面:10*IF (MACD 0,SUM(MACD,BARSLAST(MACD 0)),0),LINETHICK0,COLORRED,NODRAW;