当前位置: 爱约股 > 大智慧答疑 > > MACD零轴下方10个交易日内两次金叉加底背离)选股公式
MACD零轴下方10个交易日内两次金叉加底背离)选股公式
来源:Internet,编辑:爱约股,2012-07-30
编写要求:
MACD零轴下方10个交易日内两次金叉加底背离
爱约股解答:
"MACD.DIFF"<0 AND "MACD.DEA"<0 AND
COUNT(CROSS("MACD.DIFF","MACD.DEA"),10)=2 AND
REF(CLOSE,BARSLAST(REF(CROSS("MACD.DIFF","MACD.DEA"),1))+1)>CLOSE AND "MACD.DIFF">REF("MACD.DIFF",BARSLAST(REF(CROSS("MACD.DIFF","MACD.DEA"),1))+1);