T:=BARSCOUNT(C);
ZJ:=AMOUNT/10000/3;
B1:=C>REF(C,1)*1.00001;
S1:=C<REF(C,1)*0.99999;
BD:=AMOUNT>1000000;
SD:=AMOUNT<1000000;
大单买盘:=SUM(IF(B1 AND BD,ZJ,0),0);
大单卖盘:=SUM(IF(S1 AND BD,ZJ,0),0);
小单买盘:=SUM(IF(B1 AND SD,ZJ,0),0);
小单卖盘:=SUM(IF(S1 AND SD,ZJ,0),0);
净流入(万):=大单买盘+小单买盘-大单卖盘-小单卖盘;
买盘比:=(大单买盘+小单买盘)/(大单买盘+大单卖盘+小单买盘+小单卖盘)*100;
净流入比:=净流入(万)/DYNAINFO(57)*1000000/T*240;
量比:=sum(vol,0)*240/dynainfo(38)/T;
均价:=SUM(AMOUNT,0)/SUM(V,0)/100;
涨幅:=C/DYNAINFO(3)<1.06 AND C<均价*1.02 AND C<"MA.MA3#DAY"*1.06;
大单:=count(大单买盘>大单卖盘*2 and 净流入(万)>0 AND 净流入(万)>ref(净流入(万),1) and 净流入比>ref(净流入比,1),2)=2;
XG:=FILTER(大单 and 涨幅 and 量比>3 and 净流入比>2 and 买盘比>70,60);
抓涨停:XG; |