DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;MACD1:=REF(MACD,1);MACD2:=REF(MACD,2);红箭头1:MACD1>0 AND MACD>MACD1 AND MACD2>MACD1;