{主动买卖}
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))/10000;
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE 主买:=主动买; 主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 主卖:=-主动卖; 净买:=(主动买+主动卖); 单日净买率:净买/VOL*1000000,POINTDOT,COLORFFFF00; 单日净买量:VOL*单日净买率/100,POINTDOT,COLORRED; 三日净买率:SUM(单日净买率,3),POINTDOT,COLORFFFF00; 三日净买量:SUM(单日净买量,3),POINTDOT,COLORRED; 十日飘红:COUNT(三日净买量>0,10),COLORWHITE;{DDX飘红} 标量过百:三日净买量/EMA(三日净买量,500)*100,POINTDOT,COLORYELLOW; 持股:STICKLINE(三日净买量>0,0,三日净买量,3.5,0),COLORRED; 持币:STICKLINE(三日净买量<0,0,三日净买量,3.5,0),COLORFFFF00;