oo:=IF(CAPITAL=0,5000000,CAPITAL);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE OPEN,AA*(HIGH-LOW),IF(CLOSE OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-AA*(HIGH-LOW),0-VOL/2));
主动买盘:=SUM(买盘,1)/oo*100;
STICKLINE(主动买盘 0,0,主动买盘,3,0),COLORRED;
主动卖盘:=SUM(卖盘,1)/oo*100;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
饱和50:=SUMBARS(主动买盘-主动卖盘,50);
中间价:=(CLOSE*2+LOW+HIGH+OPEN)/5;
zf50:=HHV(中间价,饱和50)/LLV(中间价,饱和50)*100-100;
富贵门:IF(LAST(zf50 25) 60,10,0),LINETHICK2;
STICKLINE(主动买盘 0,0,主动买盘,3,0),COLORRED;