编写要求:
要求:预警选出涨停且突破MA1,N日内 回踩MA2的股票
公式在线网解答:
MA1:=MA(C,5); MA2:=MA(C,10); A:=BARSLAST(CROSS(C,MA1)); CROSS(COUNT(C>MA2 AND L<MA2,A+1),0.5) AND A<=N AND A>=1;