由于5日均线和5周均线不是同一周期的,并且并不是每个周的k线都是5个交易日,所以没法进行日周之间的天数换算,你还是做两次选股吧。在打开选股器后,在选股器的左边有一个选股周期的调节器,系统默认的是日线周期。左下角有一个选股范围调节器,默认的是“沪a深a”。先用这个公式在日线周期选股:macd.macd<0 and macd.macd>ref(macd.macd,1) and cross(...
条件:k线最低<5,10,21日均线,最高价>5日10日21日均线,收盘21线之上,公式如下:low<ma(close,5) and low<ma(close,10) and low<ma(close,21) and high>ma(close,5) and high>ma(close,10) and high>ma(close,21) and cl...