cond1:count(close/ref(c,1)*1.09,barpos)=1 and ref(close/ref(c,1)*1.09,1);
cond2:barpos>100; // 大于100天的股票
cond3:STRNCMP(STKNAME,'ST',2)<>0 AND STRNCMP(STKNAME,'*ST',3)<>0 AND STRNCMP(STRRIGHT(STKNAME,2),'退',2)<>0;
cond4:OPENV/ref(vol,1)>0.07 and open/ref(c,1)>0.02;
cond5:currenttime<094000 and close=DYNAINFO( 54);
if cond1 and cond2 and cond3 and cond4 then tbuy(1,100,mkt)