highn:=10;lown:=10;highd**play:=0;lowd**play:=0;zgd**play:=0;mad**play:=0;aa:=ref(h,highn)=hhv(h,2*highn+1);qy:=backset(aa,highn+1);cc:=filter(qy,highn) and h=hhv(h,highn+1); 20210311
{通达信已通过测试}{选股}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;-----------------...
mb1:=ema(winner(c)*100,5);mb2:=ema(mb1,2);mb3:=ema(mb2,2);mb4:=ema(mb3,2);n:=5;var2:=mb1;var3:=drawline(var2>=hhv(var2,n)=1,var2,var2<=llv(var2,n)=1,var2,1);xg:=ref(var2,1)=ref(var3,1) and var2&...