开盘分钟:=if(CURRENTTIME>93000 and CURRENTTIME<150000, if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60, if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240); 预测量:=IF(BARSTATUS=2,VOL/开盘分钟*240,VOL);SHI:="sh000001$open"/ref("sh000001$close",1);cond0:=between((close-ref(close,1))/ref(close,1),1.0975,1.105);cond1:=(dynainfo(4)/dynainfo(3)-SHI)>0.02 and (dynainfo(4)/dynainfo(3)-1)>0.015;cond2:=ref(cond1,1)=1 and between(open,ref(close,1)*0.995,ref(close,1)*1.035) and 预测量>ref(vol,1)*1.3 and ma(vol,5)>ma(vol,25) and ma(vol,25)>ma(vol,55);cond3:=count(ref(high,1)/ref(low,1)<1.04,3)=3 and ref(hhv(high,3)/llv(low,3),1)<1.07 and 预测量>ref(ma(vol,5),1)*1.4 and high>ref(high,1); 选股: dynainfo(8)>0{剔除当日停牌股} and "净成交量.选股" {净成交量} and "中线选股.选股#MONTH" {月线KD选股} and "中线选股.选股#WEEK"{周线KD选股} and "中线选股.选股"{日线KD选股} and(cond1 or cond2 or cond3) and not(dynainfo(4)/dynainfo(3)>1.06) and currenttime>94000 and isup; |