MAC:=WMA((2*C+H+L)/4,3); {OBVV-金成交量} DRAWGBKlast(c>0,strip(RGB(0,0,160),RGB(0,0,0),0)); MAC:=WMA((2*C+H+L)/4,3); WOBV:WMA(SUM(IF(MAC>REF(MAC,1),VOL,IF(MACPARTLINE(WOBV,WOBV>REF(WOBV,1),rgb(255,0,0)),LINETHICK3,LAYER0; OBVD:IF(MAC>REF(MAC,1),VOL,IF(MAC |