通达信43天均线买点公式,无未来!
源码
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA); XX:=REF(MACD,1)<REF(MACD,2) AND MACD>=0 AND MACD>REF(MACD,1); XG:ABS(C-MA(C,43))/MA(C,43)<0.01 AND XX;