判官MACD选股公式

源码

{判官MACD}
 DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIF,9),COLORYELLOW;
 A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
 FILTER(COUNT(底背离,20) AND CROSS(C,MA(C,20)),5) AND COUNT(C>MA(C,250),23)>=1;