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));
{股旁网-股票公式网站 www.gupang.com}
主动买盘:SUM(买盘,1)/oo*100,LINETHICK0,COLORRED;
主动卖盘:SUM(卖盘,1)/oo*100,LINETHICK0,COLORGREEN;
STICKLINE(主动买盘>0,0,主动买盘,3,0),COLORRED;
STICKLINE(主动卖盘<0,0,主动卖盘,3,0),COLORGREEN;
202108211307.jpg
|