MAXX:=MA(CLOSE,QQ),COLORWHITE;
DIF:(EMA(MAXX,3*A2)-EMA(MAXX,4*A2)),COLORWHITE,LINETHICK1;
DEA:EMA(DIF,3/2*A2),COLORWHITE,LINETHICK1;
MACD:(DIF-DEA)*2,COLORSTICK;
MACD,COLORWHITE,LINETHICK1;
MAOBV4:MA(-0.01,1),COLORRED;
IF(MACD 0,MACD,DRAWNULL),COLORRED,LINETHICK3;
IF(DIF 0,DIF,DRAWNULL),COLORRED,LINETHICK3;
IF(DEA 0,DEA,DRAWNULL),COLORRED,LINETHICK3;
{www.9m8.cn 九毛八公式指标网}
IF(MACD 0,MACD,DRAWNULL),COLORBLUE,LINETHICK3;
IF(DIF 0,DIF,DRAWNULL),COLORBLUE,LINETHICK3;
IF(DEA 0,DEA,DRAWNULL),COLORBLUE,LINETHICK3;
DRAWBAND(DEA,RGB(0,224,224),DIF,RGB(255,96,96));