当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是分时涨停(源码)(无源码的请下载附件导入)
C/C++ Code复制内容到剪贴板
- 买卖:=((sum(if(time>93000,transactvol(1,0),0),0)-sum(if(time>93000,transactvol(2,0),0),0))/(sum(if(time>93000,transactvol(1,0),0),0)+sum(if(time>93000,transactvol(2,0),0),0)));
- k8:=barslast(sum(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0)>llv(sum(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0),0))<3 and barslast(sum(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)>llv(sum(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0),0))<3;
- k11:=barslast(sum(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0)>0)<3 and barslast(sum(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)>0)<3;
- k14:=barslast(sum(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0)>=hhv(sum(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0),0))<3 and barslast(sum(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)>=hhv(sum(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0),0))<3;
- k17:=high/dynainfo(4)<(1+3/100);
- k22:=barslast(cross(买卖,0))<3 and LAST(买卖>0)>1;
- k23:=barslast(cross(sum(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0),sum(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)))<3;
- k25:=k17 and k22 and k23 and k14 and k8 and k11;
- vertline(k25,0),LINETHICK5,coloryellow;
- 主动率:(SUM(TRANSACTNUM(1,0),0)-SUM(TRANSACTNUM(2,0),0))/(SUM(TRANSACTNUM(1,0),0)+SUM(TRANSACTNUM(2,0),0)),LINETHICK3,coloryellow;
- FILLRGN(0,主动率,主动率>0,rgb(80,0,0),主动率<=0,rgb(0,55,55)),LINETHICK2,PRECIS0;
- VAR1:=EMA(EMA(CLOSE,13),13);
- 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
- JJ:=DYNAINFO(11);
- P:=55;
- S:=8;
- M1:=3;
- 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
- 神:=EMA(财,M1);
- BTJ11:=(C-JJ)/JJ<-0.03;
- BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
- BTJ3:=CROSS(财,神) AND 财<-0.3;
- BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
- 庄:= BTJ11 AND BTJ2 AND BTJ3;
- 有庄:FILTER(庄,55);
- DRAWTEXT(BTJ811,有庄,'有庄'),COLORWHITE,ALIGN1;
取有用的集合在一起。其中有庄带点未来性,就是分时线走出来涨到某个地方,才会在前某个低点出现。
不过出现后要结合热点还是有一定的成功率。
上一篇:大智慧L2放量打拐条件选股公式 下一篇:分时黑枫(分时主图适合t+0)