同花顺,通用, MACD,优化,选股,副图,选股公式
上次金叉DIFF<0,这次金叉DIFF>0,在第二次金叉选出来
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9); zg:CROSS(diff,dea) AND dea>0 AND BARSLAST(CROSS(diff,dea) AND dea<0);