AAA:=MAX(DYNAINFO(3),DYNAINFO(5));

BBB:=MIN(DYNAINFO(3),DYNAINFO(6));

CCC:=AAA-BBB;

中轨:=(AAA+BBB)/2,COLOR999900,LINETHICK9;

DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);

DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)/4;

{STICKLINE(MACD>=REF(MACD,1)AND MACD<=0,中轨,中轨+MACD,2,1),COLOR009999;}

STICKLINE(MACD>REF(MACD,1) AND TIME<=0935 AND MACD>=0,中轨,中轨+MACD*999,2,1),COLOR0000DD;

{STICKLINE(MACD<0,中轨,中轨+MACD,2,0)COLORDDDD00;

STICKLINE(MACD<0,中轨,中轨+MACD,2,0),COLORDDDD00;}

阻力:BBB+CCC*7/8,COLOR00DD00,LINETHICK9;

支撑:BBB+CCC*1/8,COLOR00DD00,LINETHICK9;

上顶:BBB+CCC*2/3,COLOR999900,LINETHICK9;

下底:BBB+CCC/3,COLOR999900,LINETHICK9;

价:C,COLOR00FFFF;