C>MA(CLOSE,5)) AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,5)>REF( MA(CLOSE,5),1) AND MA(CLOSE,10)>REF( MA(CLOSE,10),1) ; 此公式选出来的是5 10均线金叉的股,要求只在同时满足条件四个条件的第一天选股..谢谢老师!!N天内满足条件的天数=1
爱约股解答:
(C>MA(CLOSE,5)) AND CROSS(MA(CLOSE,5),MA(CLOSE,10)) AND MA(CLOSE,5)>REF( MA(CLOSE,5),1)
AND MA(CLOSE,10)>REF( MA(CLOSE,10),1) ;