DIFF:=(Ema(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
macd2:=(2 * (DIFF - DEA));
红箭头:((((HHV(MacD2,4) < 0) AND (MACD2 > REF(MACD2,1))) AND (REF(MACD2,1) < REF(MACD2,2))) AND (REF(MACD2,2) < REF(MACD2,3)));
DIFF:=(Ema(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
macd2:=(2 * (DIFF - DEA));
红箭头:((((HHV(MacD2,4) < 0) AND (MACD2 > REF(MACD2,1))) AND (REF(MACD2,1) < REF(MACD2,2))) AND (REF(MACD2,2) < REF(MACD2,3)));