通达信中由两个选股指标符合要求,公式如下:1、“突破长期盘整”:ref(((hhv(high,n)-llv(low,n))/llv(low,n)),1)<=(n1/100) && close>=ref(hhv(high,n),1) && barscount(close)>n;2、“突破”:m1:=ma(c,n1);{短期参数:5}m2:=ma(c,n2);{中期参数:10}m3:=ma(c,n3);{长期参数:30}{以下计算交叉点距今的天数}d1:=barslast(cross(m1,m2));{短上穿中}d2:=barslast(cross(m1,m3));{短上穿长}d3:=barslast(cross(m2,m3));{中上穿长}t1:=cross(m2,m3);{今天**上穿长线}t2:=d1>=d2 and d2>=d3;{交叉按指定的先后出现}t3:=count(cross(m2,m1) or cross(m3,m2) or cross(m3,m1),d1)=0;{中间无夹杂其它交叉}t4:=ref(m1
1.=========选股:count((h>ref(c,1)*1.095 and h=c,15)>=1;2.=========zt:=barslast(c/ref(c,1)>1.095 and h=c);选股: llv(l,zt)>=ref(l,zt) and hhv(h,zt)<=ref(h,zt) and zt<=15;3.=========zt:=bar...