涨幅:=(CLOSE-OPEN)/OPEN*100;
aa:=REF(涨幅,2)>8 and REF(涨幅,1)<-8;
bb:=ref(o,1)>0.9*ref(c,2) and ref(o,1)<1.1*ref(c,2);{前一天的开盘价在在前天的收盘价上下10%波动}
cc:=ref(c,1)>0.9*ref(o,2) and ref(c,1)<1.1*ref(o,2);{前一天的收盘价在在前天的开盘价上下10%波动}
dd:=o>0.9*ref(c,1) and o<1.1*ref(c,1);
ee:=c>0.9*ref(o,1) ;
aa and bb and cc and dd and ee and 涨幅>5;