DIF:=EMA(CLOSE,5)-EMA(CLOSE,34);
DEA:=EMA(DIF,4);
macd:=(DIF-DEA)*2;
MacD空中加油:=
MACD>=0
AND REF(MACD,1)>=0
AND REF(MACD,2)>=0
AND REF(MACD,3)>=0
AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2)
AND REF(MACD,2)<REF(MACD,3);
XG:DRAWICON(MACD空中加油,0.35,1);