编写要求:
股价在20日平均线处停止下跌,然后股价上行又出现5日平均线金叉10日平均线
公式在线网解答:
BARSLAST(BETWEEN(L-MA(C,20),0,0.05))>1 AND BARSLAST(BETWEEN(L-MA(C,20),0,0.05))<7 AND CROSS(MA(C,5),MA(C,10));