抓涨停的公式

  • 格式:txt
  • 大小:9.81 KB
  • 文档页数:4

好!开盘后30分钟选股多好!本人人为,用强弱排势选股多好!加入条件是:股票必须活跃的或强势的,不要ST股票!昨天涨停的也可排除在外.只可惜我不会编辑公式!请各位高手试试,编个选股公式出来!另外,通达信有个加密的正成交量,请各位高手解一解!
好!
个股涨幅:=(C-REF(C,1))/REF(C,1)*100;
大盘涨幅:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;
跑赢大盘:=个股涨幅>=大盘涨幅;
波动幅度:=0.01<((HIGH-LOW)/CLOSE)<0.02;
最低价:=L>REF(L,1) AND L=REF(L,1);
{当前价格高于开盘价}
D:=A-O;
{股票昨天是涨的}
{K:=REF(C,1)-REF(O,1);}
{5日均线比10日均线高}
KK:=ma(c,5) >ma(c,10) and ma(c,5)>ref(ma(c,5),1);
{5分钟、15分钟、30分钟MACD都出现红柱}
B:=DYNAINFO(8);
BV:=REF(V,1);
ZF2:=B/BV*100;
{9点45 的涨幅}
A:=DYNAINFO(7);
AC1:=REF(C,1);
ZF1:=(A-AC1)/AC1*100;
{当前价格高于开盘价}
D:=A-O;
{股票昨天是涨的}
{K:=REF(C,1)-REF(O,1);}
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
JJ:=INTPART(3*K-2*D);
JJ1:=REF(JJ,1);
A:=KK-DD;
A1:=REF(A,1);
B:=A1-A;
B1:=REF(A1-A,1);
B2:=REF(A1-A,2);
CC:=B+B1+B2;
AD:=CC-B2;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
YY/2.5;
VAR3:=CROSS( XX, 0) AND YY>1.0;
VAR4:=A+B+REF(B,1)=REF(A,1)+REF(B,1)=REF(A,2);
VAR3 AND VAR4;
横盘上涨
TT:=BARSCOUNT(C);
j:= (d5>0 and d15>0);
{委买大于委卖}
E:=DYNAINFO(23)-DYNAINFO(22);
{昨天成交量比前天多}
F:=REF(V,1)-REF(V,2);
ZF1<6 and ZF2>15 and JB>0 and j>0 and D>0 and E>0 and F>0 and KK>0;
CC:=CLOSE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:=IF(ZZ1=0,MA(C,TT),ZZ);
上均:=均线 + AVEDEV(C,TT)*2;
下均
AND DYNAINFO(48)>1000
AND TIME>140000 ;
买入涨停
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
J:=(3*K-2*D);
DEA5:="MACD.DEA#min5";
DIFF5:="MACD.DIFF#min5";
d5:=DIFF5-DEA5;
DEA15:="MACD.DEA#min15";
DIFF15:="MACD.DIFF#min15";
j:= (d5>0 and d15>0 and d30>0);
{委买大于委卖}
E:=DYNAINFO(23)-DYNAINFO(22);
{昨天成交量比前天多}
F:=REF(V,1)-REF(V,2);
选股:ZF1<6 and ZF2>30 and JB>0 and j>0 and D>0 and E>0 and F>0 and KK>0;
AND DYNAINFO(41)/DYNAINFO(43)>2
AND DYNAINFO(48)/DYNAINFO(50)>2
AND DYNAINFO(26)>1000
AND DYNAINFO(27)>1000
AND DYNAINFO(41)>1000
卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
QQ:=买+卖;
XX:=MA(QQ,5);
VAR1:=VOL/SUM(VOL,13);
VAR2:=DMA(CLOSE,VAR1);
3。如果你判断当天大盘走势很差,就不要做。
{选择涨停股票的基本条件}
{ST股票判断、今日停牌股票}
ISST:=STRFIND(STkNAME,UPPERSTR('ST'),1)<>0;
JB:=(ISST=0) and DYNAINFO(8)>0;
{早盘15分钟,成交量}
涨停
AM:=IF(DATE<=1031231,1,0);
AA:=CLOSE/REF(CLOSE,1)>=1.099;
AB:=VOL/REF(VOL,1);
目标:IF(AA AND AB<1,55,0)*AM;
横盘抓涨停
A1:=SUM(C>MA(C,55),5);
d5:=DIFF5-DEA5;
DEA15:="MACD.DEA#min15";
DIFF15:="MACD.DIFF#min15";
d15:=DIFF15-DEA15;
{j:=(d5>0 and d15>0) or (d5>0 and d30>0) or (d15>0 and d30>0);}
A2:=MA(V,1)<0.5;
A3:=V/REF(V,1)<0.5;
A4:=REF(A1,1);
A5:=A3/A4<0.5;
A6:=1.2<(MA(V,5)/(MA(REF(V,5),1)))<1.5;
盘中缩量:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 ;
早上9:45后抓涨停的公式
9点45之后用。(必须实盘的,不能盘后选)。大伙讨论讨论把。
说明几点:
1。这个公式每天选股出数目不少(但也不多于20只)。
2。选出后要尽快看看K线图,最近的量价走势。这样从中挑出涨停或大涨的概率才比较大。公式只是帮你从1000多个股票中挑选可能的股票,还是看盘的能力重要。
JB:=(ISST=0) and DYNAINFO(8)>0;
{早盘30分钟,成交量}
B:=DYNAINFO(8);
BV:=REF(V,1);
ZF2:=B/BV*100;
{10点的涨幅}
A:=DYNAINFO(7);
AC1:=REF(C,1);
ZF1:=(A-AC1)/AC1*100;
B1:=REF(EVERY(C<MA(C,55),5),5);
B2:=(C>=MA(C,55));
B3:=V=HHV(V,5);
B4:=REF(C,1)>REF(O,1) AND REF(C,2)<REF(O,2) AND REF(O,1)<REF(C,2);
低位放量:=B1 AND B2 AND B3 AND B4;
{5日均线比10日均线高}
KK:=ma(c,5)>ma(c,10) and ma(c,5)>ref(ma(c,5),1);
{5分钟、15分钟MACD都出现红柱}
DEA5:="MACD.DEA#min5";
DIFF5:="MACD.DIFF#min5";

下载文档原格式

  / 4