通达信macd零轴上金叉(类是空中加油)副图公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; V1:=C>REF(C,1)*1.04 AND C>0; DIF>0 AND ABS(MACD)<0.01 AND V>MA(V,N) AND C>=REF(C,BARSLAST(V1)) ;