OBV:=SUM(IF(C REF(C,1),VOL,IF(C REF(C,1),-VOL,0)),0);
DIFF:=EMA(OBV,18)-EMA(OBV,20);
DEA:=EMA(DIFF,8);
MACD:50*(DIFF-DEA),COLORSTICK,LAYER7;
50*(DIFF-DEA),COLOR00ff00,LINETHICK2,LAYER3;
PARTLINE(MACD,MACD REF(MACD,1),rgb(255,0,0)),LINETHICK2,LAYER0;
{成交量}
STICKLINE(C =REF(C,1),0,V,4,0 ),Color0077ff,LAYER0;
STICKLINE(C REF(C,1),0,-V,4,0 ),Color99FF99,LAYER0;
;