{前四天收阳线,当日涨幅大于7%选股公式}REF(EVERY(C>O,4),1) AND C/REF(C,1)>=1.07;{前四天收阳线,算入今天,总涨幅大于7%}REF(EVERY(C>O,4),1) AND SUM(C/REF(C,1),5)-5>=0.07;
ref(c,3)>=ref(c,4)*1.07;