编写条件:
股价连续8天在4日均线下,今日站上4日均线的选股公式
编写方法:
XG:REF(C,1)<REF(MA(C,4),1) AND REF(C,2)<REF(MA(C,4),2) AND REF(C,3)<REF(MA(C,4),3) AND REF(C,4)<REF(MA(C,4),4) AND REF(C,5)<REF(MA(C,4),5) AND REF(C,6)<REF(MA(C,4),6) AND REF(C,7)<REF(MA(C,4),7) AND REF(C,8)<REF(MA(C,4),8) AND CLOSE>MA(C,4)