通达信MACD天天挣钱选股指标公式股票软件源码如下: DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); XG:CROSS(REF(DEA,1),REF(DIFF,1)) AND CROSS(DIFF,DEA);