流通盘:=10;N天:=5;N停:=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;
九毛八公式解读
流通盘赋值:10 N天赋值:5 N停赋值:2 ST1赋值:如果模糊匹配品种名称,返回0,否则返回1 ST2赋值:如果模糊匹配品种名称,返回0,否则返回1 ST3赋值:如果模糊匹配品种代码,返回0,否则返回1 ST4赋值:量比>0 C1赋值:ST1 AND ST2 AND ST3 AND ST4 C2赋值:流通市值/收盘价/100000000<=流通盘 ZT1赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>9.8 ZT2赋值:ZT1的N天日累和 ZT3赋值:上次ZT1距今天数 C3赋值:ZT2>=N停 输出ZXG:C1 AND C2 AND C3