网友求助:
编个在底部10日,20日,30日均线发散,且MACD在0轴附近金叉的选股公式
解答如下:
A1:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
A2:=REF(MA(C,30),1)=LLV(MA(C,30),20);
A3:=MACD.MACD>=-0.2 AND MACD.MACD<=0.2 AND CROSS(MACD.DIF,MACD.DEA);
XG:A1 AND A2 AND A3;