更准确的机构散户分时买入卖出占比源码介绍
更准确的机构散户分时买入卖出占比源码
注意: 如果碰到涨停或者跌停,上面的指标就不是很准确了。。
{机构买卖}
A1:=(VOL*C)/100;
A2:=SUM(IF(A1>80 AND ( C>REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)>REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)>REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)>REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)>REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)>REF(C,6)) ) ) ) )) )) )),A1,0),0);
A3:=SUM(IF(A1>80 AND ( C<REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)<REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)<REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)<REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)<REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)<REF(C,6)) ) ) ) )) )) )),A1,0),0);
A4:=SUM(IF(A1<80 AND ( C>REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)>REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)>REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)>REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)>REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)>REF(C,6)) ) ) ) )) )) )),A1,0),0);
A5:=SUM(IF(A1<80 AND ( C<REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)<REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)<REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)<REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)<REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)<REF(C,6)) ) ) ) )) )) )),A1,0),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
A8:=IF((BARSTATUS=2),((100*A3)/A6),0);
A9:=IF((BARSTATUS=2),((100*A4)/A6),0);
A10:=IF((BARSTATUS=2),((100*A5)/A6),0);
选股:3*A2>A6 AND A2>A3 AND DYNAINFO(14)<0.05 AND DYNAINFO(7)>0 AND CAPITAL<10000000;
gd23831