N天前涨停选股公式
实战一例:
{N: 1,100, 10} ZF:=98;
涨幅:=(C-REF(C,1))*100/REF(C,1); XGX1:=REF(涨幅,N)>ZF/10; ST1:=IF(NAMELIKE('ST'),0,1); ST2:=IF(NAMELIKE('*ST'),0,1); ST3:=IF(NAMELIKE('S*ST'),0,1); ST4:=IF(NAMELIKE('SST'),0,1); ST5:=IF(NAMELIKE('ST'),0,1); ST6:=IF(NAMELIKE('N'),0,1); ST7:=IF(CODELIKE('300'),0,1);
XGX2:=ST1 AND ST2 AND ST3 AND ST4 AND ST5 AND ST6; {去ST}
停牌:=(DYNAINFO(4)=0);
XGX:XGX1 AND XGX2 AND NOT (停牌);