p2:=SUbsAMEDAY(&BIGBUYCOUNT2);
b2:=SUBSAMEDAY(&WAITBUYCOUNT2);
p3:=SUBSAMEDAY(&BIGBUYCOUNT1);
b3:=SUBSAMEDAY(&WAITBUYCOUNT1);
n2:=SUBSAMEDAY(&BIGSELLCOUNT2);
m2:=SUBSAMEDAY(&WAITSELLCOUNT2);
n3:=SUBSAMEDAY(&BIGSELLCOUNT1);
m3:=SUBSAMEDAY(&WAITSELLCOUNT1);
主力量比:SUM(p2+b2+p3+b3-n2-m2-n3-m3,0)/V*100;
特单量比:SUM(p3+b3-n3-m3,0)/V*100;
大单量比:SUM(p2+b2-n2-m2,0)/V*100;
主被量比:(SUM(p2+p3-n2-n3,0)-SUM(b2+b3-m2-m3,0))/V*100;