a:=100*(c-ref(c,1))/ref(c,1);t5:=ref(a,5)>9.8;t11:=ref(a,11)>9.8;t23:=ref(a,23)>9.8;t29:=ref(a,29)>9.8;t5 or t11 or t23 or t29;{选出之前第5,11,23,29天,这四天中曾涨停的个股}
n:=55;wl:=(close-ma(close,6))/ma(close,6)*100;wlt:=ma(wl,89);wlt1:=cross(wl,wlt);wlt11:=cross(wl,-10);wlt2:=filter(wlt1,8);t1:=wlt11 or wlt2;t2:=ref("kdj.j",1)...