牛牛分时BBD(源码)
2011-02-18 12:02:00来源:本站整理浏览:170
牛牛分时BBD(仅仅提供源码)
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;