zz:=(hhv(h,3)+llv(l,3))/2;a:=if(c>zz,vol,0);b:=if(c<zz,VOL,0);总0:=(a-b);
bbd:EMA(总0,3)/sum(vol,5)*100,LINETHICK;
{-股票公式网站 }
STICKLINE(BBD>=0,0,BBD,8,0),COLOR000088;
STICKLINE(BBD>=0,0,BBD,5,0),COLOR0000AA;
STICKLINE(BBD>=0,0,BBD,3,0),COLOR0000CC;
STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000FF;
STICKLINE(BBD<0,0,BBD,8,0),COLOR888800;
STICKLINE(BBD<0,0,BBD,5,0),COLORAAAA00;
STICKLINE(BBD<0,0,BBD,3,0),COLORCCCC00;
STICKLINE(BBD<0,0,BBD,1,0),COLORFFFF00;
XH1:=ref(bbd,1)<ref(bbd,2) and ref(bbd,1)<-10 and bbd>ref(bbd,1) and bbd>0;
XH2:=ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd<ref(bbd,1) and bbd<0;
DRAWICON(XH1,-25,4);DRAWICON(XH2,25,5);
DRAWTEXTEX(CLOSE,1,10,0,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFBB00;