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;
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;