通达信N天N停选股公式源码
{流通盘:0,20,10;N天:1,360,5;N停:1,100,2}
st1:=if(namelike('s'),0,1);
st2:=if(namelike('*'),0,1);
st3:=if(codelike('300'),0,1);
st4:=dynainfo(17)>0;
c1:=st1 and st2 and st3 and st4;
c2:=finance(40)/c/100000000<=流通盘;
zt1:=(c-ref(c,1))/ref(c,1)*100>9.8;
zt2:=sum(zt1,n天);
zt3:=barslast(zt1);
c3:=zt2>=n停;
zxg:c1 and c2 and c3;
752333677.JPG
|