天道财富网-中国最全面的股票知识学习交流平台!

大智慧指标公式

大智慧通达信超级短打公式源码选股

涨幅:= (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;