编写条件:
5天前10天内(也就是从今天向前数6-10天)累计涨停板的公式。编写方法:
n 1 0 30 1 m 1 1 29 1
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
停牌:=(DYNAINFO(4)=0);
BB:=not(ST) and not(停牌) and not(S);
AA:=ref(c,n)/ref(c,m)>1.096 and ref(c,20)/ref(c,60)<1.089;
预警:AA AND BB;