通达信向上跳空缺口选股指标公式

通达信双线合一指标公式

通达信向上跳空缺口选股指标公式:
流通盘:=10;缺口大小:=2;日期:=1;

ws:=mod(ref(c,1)*100,10)/100;

fd:=ref(c,1)/10-if(ws<0.05,ws,ws-0.10)/10;

st1:=if(namelike('s'),0,1);

st2:=if(namelike('*'),0,1);

st3:=if(codelike('300'),0,1);

st4:=dynainfo(17)>0;

st5:=finance(40)/c/100000000<=流通盘;

st6:=if((c>=(ref(c,1)+fd-0.009) and c<=(ref(c,1)+fd+0.009)),0,1);

c1:=st1 and st2 and st3 and st4 and st5 and st6;

c20:=(l/ref(h,1)-1)*100>缺口大小;

c21:=barslast(c20);

c22:=between(c21+1,1,日期);

c2:=count(l>ref(h,c21+1),c21)=c21 and c22;

zxg:c1 and c2;

通达信DMA平均线差指标公式