故只能试用.也算是献给国庆一份小礼品吧;
故只能试用.也算是献给国庆一份小礼品吧;
OBV1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
OBV:=OBV1/100000;
MA30:=MA(OBV,30);
SUB:=OBV-MA30;
短均0:=MA(SUB,5);
流氓OBV:=CROSS( SUB ,短均0);
有流氓:=EXIST( 流氓OBV,9)>=1;
昨天收盘价:=REF(C,1);
涨停板:=(C-REF(C,1))/REF(C,1)*100>=8.48 AND C>O;
RN:=45; W:=1;
只有一个:=COUNT(涨停板,RN)>=W;
有涨板:=EXIST(只有一个,45)>=1;
X:=(3*C+L+O+H)/6;
多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210;
去新股:=IF(NAMELIKE('N'),0,1);{刚上市不久的新股}
一字涨停:=C/REF(C,1)>1.0975 AND H=O;
涨幅度:=8;涨幅度1:=1;
限制涨幅:=DYNAINFO(14)*100>涨幅度1 AND DYNAINFO(14)*100<涨幅度 AND CLOSE>MA(C,55);
去除ST股:=IF(NAMELIKE('S'),0,1);
去除星股:=IF(NAMELIKE('*'),0,1);
去除停牌:=DYNAINFO(8)>0;
ST:=去除ST股 AND 去除星股 AND 去除停牌;
条件:=DYNAINFO(17)>0 AND ST AND C>=5.58 AND DYNAINFO(23)<>DYNAINFO(22)
AND C<17.86 AND CAPITAL/1000000<3.40 AND 去新股 AND NOT(一字涨停) AND 限制涨幅
AND IF(CODELIKE('300'),0,1) AND C>0 AND C/REF(C,1)>=1.011 ;
QZ:=IF(CURRBARSCOUNT<=11,CONST(L),DRAWNULL);
XS:=H=QZ OR C=QZ;
XG:FILTERX(COUNT(XS,11),11) AND 条件 AND 有流氓 AND
(昨天收盘价>多空线 ) AND 有涨板 AND DYNAINFO(14)*100>1.7;