input:BX(20,0,1000);
DRAWGBKlast(c>0,strip(RGB(0,0,160),RGB(0,0,0),0));
Mac:=WMA((2*C+H+L)/4,3);
Jobv:=SUM(IF(MAC>REF(MAC,1),vol,IF(MAC<REF(MAC,1),-VOL,0)),BX);
OBVE:=(JOBV-LLV(JOBV,55))/(HHV(JOBV,55)-LLV(JOBV,55))*100;
DIFF:=WMA(OBVE,13)-WMA(OBVE,21);
DEA:=WMA(DIFF,8);
macd:20*(DIFF-DEA), COLORSTICK;
{ Gupang.com 股-旁-网_大智慧股票指标公式}
20*(DIFF-DEA),COLOR00ff00,LINETHICK3,LAYER3;
PARTLINE(MACD,MACD>REF(MACD,1),rgb(255,0,0)),LINETHICK3,LAYER0;
{成交量}
OBVD:IF(MAC>REF(MAC,1),VOL/CAPITAL*100,IF(MAC<REF(MAC,1),-VOL/CAPITAL*100,0)),COLOR3D;
DRAWTEXTAbs(50,10,'【关注量价方向的转换 SUM:'+bx+'天】'),COLOR00ffff,LINETHICK3;