DRAwrECTREL(-1,0,1000,1000,RGB(0,0,50)),color0077FF,LINETHICK2,LAYER7;
obv:=SUM(IF(C>REF(C,1),vol,IF(C<REF(C,1),-VOL,0)),0);
STK:=DMA(OBV,3);
K:=SMA(STK,2,1);
D:=SMA(K,5,1);
J:(3*K-2*D),COLORSTICK;
{ Gupang.com 股-旁-网_大智慧股票指标公式}
PARTLINE(J,J>REF(J,1),rgb(255,0,0)),LINETHICK2,LAYER0;
J,COLOR00FF00,LINETHICK2;
{成交量}
STICKLINE(C>=REF(C,1),0,V,4,0 ),Color0077ff,LAYER0;
STICKLINE(C<REF(C,1),0,-V,4,0 ),Color99FF99,LAYER0;