通达信TRIXMACD指标公式
N:=12;
M:=9;
MTR:=EMA(EMA(EMA(CLOSE,N),N),9);{原为12 12 12}
TRIX:(MTR-REF(MTR,1))/REF(MTR,1)*20000;
MATRIX:MA(TRIX,M),COLOR0066FF ;
MACD:(TRIX-MATRIX)*2,COLORSTICK;
标签
热门推荐