x1:=count(ma(c,5)>ref(ma(c,5),1),5)=5;x2:=count(ma(c,10)>ref(ma(c,10),1),5)=5;x3:=count(ma(c,20)>ref(ma(c,20),1),5)=5;x4:=vol/capital=3;x5:c>ma(c,5);x6:vol/shgzg*100>6;x:x1 and x2 and x3 and x4 and x5...
aa:=close>=ref(low,1) and close>=ref(low,2); {当日收盘大于或等于昨天,前天的收盘价}bb:=last(range(close/ref(close,1),0.97,1.03),4,0);{连续4天内的涨跌幅度在+/-3%内,如果觉得4天不合适,你可以自己调整里面的天数』cc:=range(close/ref(close,4),0.97,1.03);{当天...