预警公式设置教程
预警公式的设置一共可以分为八个步骤:1、打开预警设置框2、点击条件预警框下面的设置3、点击'预警公式设置'4、出现公式条件预警设置,在选股公式的下拉菜单中,选择合适的公式5、可根据自己要求,选择公式(注意:预警公式间是或的关系,不是和)6、可将预警结果输出到单独的板块中7、点击条件预警设置中的其它设置选项卡,可以设置预警的声音8、盘中预警信号个股按照流程操作,就可以设置好通达信很高大上的一个功能,条件预警,盘中实时选股。注意事项:使用通达信的技术指标、选股指标、预警公式需要先下载本地数据,这部在所有的操作的最前面。总结:通达信常用的指标有三种,1、技术指标,用来提示买卖点;2、选股指标,用来选择符合条件的个股;3、预警公式,盘中实时选股,选股公式的动态版。三大指标中,以技术指标为核心,可以改编成为选股指标,而选股指标可以直接做预警公式。
超级短线尾盘选股及预警公式:
涨停公式预警
VAR0:=V/3;
A1:=LN(FINANCE2(37)/4030)*ATAN(FINANCE2(37))*100;
A2:=IF((A1<100),100,A1);
VAR1:=SUM(IF(VAR0>A2 AND C>REF(C,1),VAR0,0),0);
VAR2:=SUM(IF(VAR0>A2 AND C<REF(C,1),VAR0,0),0);
VAR3:=SUM(IF(VAR0<=A2 AND C>REF(C,1),VAR0,0),0);
VAR4:=SUM(IF(VAR0<=A2 AND C<REF(C,1),VAR0,0),0);
BBD:=(VAR1-VAR2);
通吃:=BBD/(VAR1 VAR2 VAR3 VAR4)*100;
净流:=(VAR1-VAR2 VAR3-VAR4);
增仓:=净流/CAPITAL*100;
量比:=V*240/DYNAINFO(38);
买比:=(VAR1 VAR3)/(VAR1 VAR2 VAR3 VAR4)*100;
均价:=SUM(AMOUNT,0)/SUM(V,0)/100;
涨幅:=C/DYNAINFO(3)<1.05 AND C<均价*1.02 AND C<'MA.MA3#DAY'*1.08 AND C<REF(C,2)*1.02;
TJ0:=通吃>30 AND 通吃>REF(通吃,1) AND 增仓>0.1 AND 增仓>REF(增仓,1) AND 量比>5 AND 量比>REF(量比,1) AND (SUM(V,0)/BARSCOUNT(C)*240)/DYNAINFO(38)>2 AND 买比>70 AND 买比>REF(买比,1) AND 涨幅;
TJ1:=REF(TJ0,1);
涨停:FILTER(TJ1,60);分时预警涨停买卖:=((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;竞价抓牛股预警公式
{集合抓牛9点35之前}
{集合抓牛}
限时日:=1891112;
限时:=IF(DATE<限时日,1,DRAWNULL);
A1:=(CAPITAL/100)/10000*限时;
A2:=REF(C,1);
A3:=VOL / (MA((REF(VOL,1)),5));
A4:=INDEXV / (MA((REF(INDEXV,1)),5));
A5:=A1 <= 10;
A6:=A3 / A4;
A7:=OPEN / A2;
A8:=ATAN(((((EMA(CLOSE,7)) / (REF((EMA(CLOSE,7)),1))) - 1) * 100)) * 57.3;
A9:=ATAN(((((EMA(CLOSE,13)) / (REF((EMA(CLOSE,13)),1))) - 1) * 100)) * 57.3;
A10:=ATAN(((((EMA(CLOSE,34)) / (REF((EMA(CLOSE,34)),1))) - 1) * 100)) * 57.3;
A14:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND DYNAINFO(4)>0;
TIMEE:=IF(FROMOPEN<5,1,0);
(((((((A5 AND (A8 > 53)) AND (A9 > 35.56)) AND (A10 > 19)) AND (A6 > 2.25)) AND (A7 < 1.05)) AND A14) AND (A7 > 1)) AND TIMEE;
如果觉得《通达信条件预警使用方法 盘中百分百抓涨停!》对你有帮助,请点赞、收藏,并留下你的观点哦!