a1:=ref(close,5)>ref(close,4);a2:=ref(close,4)>ref(close,3);a3:=ref(close,3)>ref(close,2);a4:=ref(close,2)>ref(close,1);a5:=close>ref(high,1) and v>ref(v,1);ret:=a1 and a2 and a3 and a4 and a5;t1:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5)); t4:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30)); xg1:=barslast(cross(t4,t1))<5 and t1>t4;天瀑:=count(xg1,3)=1 and xg1; xx:ret and 天瀑; 20210311
【选股条件】主力持仓:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3)选股:主力持仓/ref(主力持仓,1)>1.1 and ref(主力持仓,1)>=60;另外,选出来的股票要按某个指标排序,通达信不能实现,当前只有大智慧可以。通达信里,只能按有的字段排序。最后,这个叫是叫主力持仓,但公式里的函数,都只是最普通的行情...
ww1:=c>ma(c,60) and not(cross(ma(c,60),c));主筹估算:=ema(winner(c)*70,3);散筹估算:=ema((winner(c*1.1)-winner(c*0.9))*70,3);选股:=cross(主筹估算,散筹估算);diff:=ema(close,8)-ema(close,13); dea:=ema(diff,5);a1:=diff&g...
zt1:=c>=intpart(ref(c,1)*(1.0985)*100)/100;ts1:=barslast(zt1);zd1:=c>ma(c,10) and l<ma(c,10)*1.005 and l>=ma(c,10)*0.995; 涨停回调:range(ts1,2,10) and count(c<ref(c,1),ts1-1)>=ts1-2 and ...