t1:=close/ref(close,1)>=1.04; //股票当天大涨4%zt:=close/ref(close,1)>=1.0998;//取涨幅9.98%以上为涨停,可以改为1.1,即10%涨停t2:=barslast(zt)<10; //前方10日内有涨停,结果是连续涨停也会选被公式选出。xg:t1 and t2,colorlimagent;//这是一个组合结果,结果只...
var1:=if(year>=2993 and month>=1,0,1);var2:=ref(low,1)*var1;var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100*var1;var4:=ema(if(close*1.3,var3*10,var3/10),3)*var1;var5:=llv(low,30)*var1;...