A1:=(vol/CLOSE)/2; A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0); A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0); 量比:=SUM(VOL,0)*240/ma(V,5)/BARSCOUNT(C); 主力买盘:=A2; 主力卖盘:=A3; 主力买:crOSS(主力买盘,主力卖盘) AND 量比>0.5;