您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:捕捉强势涨停股票(源码)

捕捉强势涨停股票(源码)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:9.00 KB
更新时间:2010-06-08 08:51:00
公式简介:

INPUT:N(1,1,60),主力资金趋势(1,1,30),N1(6,2,100),M1(2,2,50),M2(2,2,50);
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
流通盘A:=CAPITAL/1000000;

三日大涨幅:=(c-ref(c,3))/ref(c,3)*100>23;
两日大涨幅:= (c-ref(c,2))/ref(c,2)*100>18;
单日大涨幅:=(c-ref(c,1))/ref(c,1)*100>9.9;
三日强无大跌:= (hhv(c,12)-c)/c*100<13;
两日强无大跌:= (hhv(c,8)-c)/c*100<8;
单日强无大跌:= (hhv(c,3)-c)/c*100<4;
强势股:=if(dynainfo(4)>0,(any(三日大涨幅,9) and 三日强无大跌)
or (any(两日大涨幅,6) and 两日强无大跌)
or (any(单日大涨幅,3) and 单日强无大跌),0);

{单数比}
DDX:(BIGORDER(1)-BIGORDER(2))*VOL/CAPITAL*100,linethick0;
净成交:DDX*V/100000,COLOR3D;
TODAY:="ddx.ddx"=0;{判断是否有正版数据}
TODAY1:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT AND TIME0<55800;{判断是否有理想数据}
{条件}
买入单:=IF(TODAY,IF(TODAY1,"DDEDATA@ORDER"(1),SELFDATA('买入单数')),ORDER(1));
卖出单:=IF(TODAY,IF(TODAY1,"DDEDATA@ORDER"(2),SELFDATA('卖出单数')),ORDER(2));
{计算}
买入单数:=买入单;
卖出单数:=卖出单;
{计算}
单数差:=卖出单数-买入单数;
买比:=买入单数/(买入单数+卖出单数);{买入单数占买卖总单数比值}
卖比:=卖出单数/(买入单数+卖出单数);{卖出单数占买卖总单数比值}
单比净:=卖比-买比;


a:=ma(close,3);
角度:=atan((a/ref(a,1)-1)*100)*180/3.1416;
ddd:=IF(BARSLAST(CROSS(MA(C,20),MA(C,5)))-BARSLAST(CROSS(MA(C,5),MA(C,20)))>0,BARSLAST(CROSS(MA(C,20),MA(C,5)))-BARSLAST(CROSS(MA(C,5),MA(C,20))),0);
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<113000 ,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000 , (TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
预测成交:=v/交易分钟数*240;
QKF:="KD,K>D";
QKG:="MACD,DIFF>DIF";
b1:=vol/ref(vol,1);
b2:=b1>1 and b1<1.6;
c1:=ma(vol,5)/capital<0.05;
10,COLORYELLOW;
评分:IF(强势股=1,2,0) +if(净成交>0,1,0)+IF(MA(C,5)>REF(MA(C,5),1),1,0)+if("macd.diff"(6,9,3)>REF("macd.dIFF"(6,9,3),1),1,0)+if("kdj.J"(9,3,3)>REF("kdj.J"(9,3,3),1),1,0)+IF(NOT(预测成交=HHV(VOL,34)),1,0)+IF(角度>45,1,0)+IF(流通盘A<8,1,0) +if(单比净>0,1,0)+IF(count(close>OPEN,9)/9<0.5,1,0)+IF(COUNT(C>O AND V/MA(V,10)>1.2,14)>2,1,0)+IF((COUNT(IF(C<O AND V<MA(V,10),1,0),9)>=(COUNT(C<O,9)-1)),1,0)+IF(count(b2,7)/7>0.6 and c1,1,0),COLORRED;
 


[url=http://www.goodgupiao.com/gupiaogongshi/7481.html][B]捕捉强势涨停股票(源码)[/B][/url]