单阳:=EXIST((C-REF(C,1))/REF(C,1)*100>涨幅
AND VOL/REF(MA(VOL,5),1)>1.5,N天);
调整天数:=BARSLAST((C-REF(C,1))/REF(C,1)*100>涨幅
AND VOL/REF(MA(VOL,5),1)>1.5);
HH:=HHV(H,调整天数-1);
LL:=LLV(L,调整天数-1);
振幅:=(HH-LL)/LL*100<波幅;
XG1:=(H-L)/L<0.03
AND (H-O)/O<0.02
AND (O-L)/L<0.02
AND VOL/REF(MA(VOL,5),1)<1
AND 单阳
AND 振幅;
{+++++以下各模块可以自行修改OR删减+++++}
{选择涨停股票的基本条件}
{⊙通达信去掉创业板*ST⊙}
S1:=IF(CODELIKE('300'),0,1);
{通达信去掉*、S、ST}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
{通达信去掉停牌}
S4:=DYNAINFO(17)>0;
{ST:S1 AND S2 AND S3 AND S4;}
{收盘价小于35元}
S5:=C<35;
{流通盘小于5亿}
S6:=FINANCE(7)<500000000;
XG:=S1 AND S2 AND S3 AND S4 AND S5 AND S6 AND XG1;
选股:EXIST(XG,1); |