跌幅:=(c-REF(c,1))/REF(c,1)*100<-5;
涨幅:=(c-REF(c,1))/REF(c,1)*100;
条件:涨幅>-0.4 and 涨幅<2 and REF(跌幅,1);
条件开关:(c-REF(c,1))/REF(c,1)*100<2 AND C>REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4) AND REF(C,4)<REF(C,5) AND REF(C,5)<REF(C,6);