设为10日内,公式如下: n:=10;rr8:=ma(close,27);rr9:=(close-rr8)/rr8*100;rra:=ma(rr9,2);rrb:=barslast(cross(-10,rra)=1);rrd:=rra<-10 and rrb>3;count(rrd,n)>=1; 20210311
z:=ma(c,120);var4:=ma((close-llv(low,10))/(hhv(high,10)-llv(low,10))*100,3);波段进场:=close>z and ref(var4,1)<30 and var4>ref(var4,1)and ref(var4,1)(var4,2);xg:波段进场;选波段进场的股票,和var3无关。
{通达信已通过测试}{选股}var1:=(2*close+high+low)/4;var2:=llv(low,34);var3:=hhv(high,34);xx:=ema((var1-var2)/(var3-var2)*100,13);yy:=ema(0.667*ref(xx,1)+0.333*xx,2);选股:cross(xx,yy) and xx<20;-----------------...