AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2)),LINETHICK0;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
主力净流入亿元:MA(买量+卖量/2,3)*AMO/V/100000000,LINETHICK0;
流通盘:=CAPITAL *100,LINETHICK0;
市值亿:=流通盘*C/100000000,LINETHICK0;
占市值比:主力净流入亿元/市值亿*100,LINETHICK0;
STICKLINE(主力净流入亿元>0,0,主力净流入亿元,1,0),COLORRED;
STICKLINE(主力净流入亿元<0,0,主力净流入亿元,1,0),COLORGREEN;