MACD顶底背离之底背离选股指标公式

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

DEA:=EMA(DIFF,9);

A1:=BArslAst(REF(crOSS(DIFF,DEA),1));

底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);