换手%:VOL/CAPITAL*100,COLORBROWN,NODRAW;
总额亿:AMOUNT/100000000,COLORRED,NODRAW;
额MA4:MA(总额亿,4),COLORCYAN,NODRAW;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL)*100*C,NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
AA:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-AMOUNT/2))/100000000;
净买亿:(主动买盘+主动卖盘),COLORYELLOW,NODRAW;
净买MA4:MA(净买亿,4),COLORWHITE,NODRAW;
买多比率:IF(主动卖盘=0,100,净买亿/(AMOUNT/100000000-净买亿)),COLORYELLOW,NODRAW;
净总比(%):IF(主动卖盘=0,100,净买亿/AMOUNT*100000000*100),COLOR3399FF,NODRAW;
流通市值:=CAPITAL/1000000*C;
净买比:净买亿/流通市值*100,COLOR0000FF,NODRAW;
预净买比:IF((CURRBARSCOUNT=1 AND V>1),净买比*TOTAL/CTIME,DRAWNULL),COLORCYAN,NODRAW;
STICKLINE(AMOUNT>0 AND AMOUNT<REF(AMOUNT,1)*2,0,AMOUNT,2.5,1),COLORLICYAN;
STICKLINE(AMOUNT>0 AND AMOUNT>=REF(AMOUNT,1)*2,0,AMOUNT,2.5,1),COLORYELLOW;
STICKLINE(主动买盘>(-主动卖盘),0,主动买盘*100000000,2.5,0),COLOR0033FF;
STICKLINE(主动买盘<=(-主动卖盘),0,-主动卖盘*100000000,2.5,0),COLORBLUE;
{DRAWTEXT(REF(V,2)<REF(V,3)*1.3 AND REF(V,1)<REF(V,2)*1.3 AND REF(V,1)<REF(MA(V,5),1)*1.1 AND V>=REF(V,1) AND 买卖比>=4,V*1.2,'买'),COLORFF00FF;};