M:=36;
N1:=13;
N:=100;
P1:=5;
SHORT:=21;
LONG:=44;
MID:=11;
N2:=11;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;{九毛八公式指标网www.9m8.cn}
主买盘:=IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-
LOW)),VOL/2)),COLORWHITE,POINTDOT;
主卖盘:=IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-
VOL/2)),COLOR00FF00,POINTDOT;
流入:=IF((主买盘)-(-主卖盘) 0,(主买盘)-(-主卖盘),DRAWNULL),POINTDOT,COLORYELLOW;
流出:=IF((主买盘)-(-主卖盘) 0,(主买盘)-(-主卖盘),
DRAWNULL),POINTDOT,COLOR00FF00;
五日净量:SUM(流入,5),LINETHICK2,COLORFFFFFF;
十日净量:SUM(流入,10),LINETHICK2,COLOR007800;
二十日净量:SUM(流入,20),LINETHICK2,COLOR0000AD;
六十日净量:SUM(流入,60),LINETHICK2,COLORFF0000;
总涨家数: SH000001$ADVANCE + SZ399001$ADVANCE ,POINTDOT,COLORWHITE;
总跌家数: SH000001$DECLINE + SZ399001$DECLINE ,POINTDOT,COLOR00FF00;