A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),21);
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),2);
DIF:D+100,COLOR9933FF;
DEA:A+100,COLOR00FF00;
{股票指标网}
MACD:50+(DIF-DEA),COLORFF00FF,NODRAW;
DRAWBAND(DIF,RGB(150,50,50),DEA,RGB(0,0,255));
STICKLINE(MACD>50,MACD,50,0,0),COLORFF00FF;
STICKLINE(MACD<=50,MACD,50,0,0),COLORFFFF00;
STICKLINE(20,20,20,0.1,0),COLOR00FF00;
STICKLINE(80,80,80,0.1,0),COLOR00FF00;
STICKLINE(50,50,50,10,0),COLOR00FFFF;
STICKLINE(100,100,100,10,0),COLORFFCC00;
STICKLINE(10,0,0,10,0),COLORFFCC00;
WR:100-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),COLORFFFFFF;
STICKLINE(WR=100,110,100,3,0),COLORFFFF00;
STICKLINE(WR=0,0,-10,3,0),COLOR0000FF;