以下是通达信超级短打源码选股贴图
超级短打选股公式
大家好,本轮行情开始以来的收益近50%,成功率达到80%左右,操作采用做短线为主,有5%利就出。选股方案为:
涨幅小于3,换手率大于3,量比大于1,单数比大于1.191,特大差大于0,小单差小于10,DDX大于0.2,DDY大于0.1。
此方案比较适合中午时选股,选出后下午进股。
超级短打
涨幅:= (c-ref(c,1))/ref(c,1)*100;
换手率:=vol/capital*100;
量比:=v/ref(ma(v,60),1);
TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT{ AND TIME0<55800};
买入单:=IF(ORDER(1)=0,IF(TODAY,"DDEDATA@ORDER"(1),SELFDATA('买入单数')),ORDER(1));
卖出单:=IF(ORDER(2)=0,IF(TODAY,"DDEDATA@ORDER"(2),SELFDATA('卖出单数')),ORDER(2));
单数比:=卖出单/买入单;
DD1:=(1-BIGORDER(1,1)-(1-BIGORDER(2,1)))*100;
DD2:=(1-"DDEDATA@BIGORDER"(1,1)-(1-"DDEDATA@BIGORDER"(2,1)))*100;
小单差:=if(today,dd2,dd1);
DD10:=(BIGORDER(1,3)-BIGORDER(2,3))*100;
DD20:=("DDEDATA@BIGORDER"(1,3)-"DDEDATA@BIGORDER"(2,3))*100;
特大差:=if(today,dd20,dd10);
dd100:=((BIGORDER(1,2)-BIGORDER(2,2))-(BIGORDER(1,3)-BIGORDER(2,3)))*100;
dd200:=(("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(2,2))-("DDEDATA@BIGORDER"(1,3)-"DDEDATA@BIGORDER"(2,3)))*100;
大单差:=if(today,dd200,dd100);
{DDX大单动向}
TODAY1:="DDX.DDX"=0;
卖出单数:=IF(TODAY1,"DDEDATA@ORDER"(2),ORDER(2));
VAR0:=MIN(COUNT(卖出单数,0),60);
DD11:="DDX.DDX";
DD22:="LXDDX.DDX";
DDX:=IF(TODAY1,DD22,DD11);
{DDY涨跌动因}
TODAY2:="ddy.ddy"=0;{判断是否有正版数据}
VAR0:=MIN(COUNT(ORDER(2),0),60);
DD111:="DDY.DDY";
DD222:="LXDDY2.DDY";
DDY:=IF(TODAY2,DD222,DD111);
超级短打:涨幅<3 AND 换手率>3 AND 量比>1 AND 单数比>1.191 AND 特大差>0 AND 小单差<-10 AND 大单差>0.1 AND DDX>0.1 AND DDY>0.1;