通达信精准MACD指标公式

2023-11-27 23:00发布

DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;DEA:EMA(DIF,9),COLOR00FFFF,NODRAW;:2*(DIF-DEA),NODRAW;DIFK:=EMA(DIF,3);DIFD:=EMA(DIFK,3);DKK:4*DIF-3*DEA,COLORFF00FF,NODRAW;DDD:EMA(DKK,5),COLOR2588FF,NODRAW;TRLSX1:= MAX(MAX((HHV(DIF,13)-LLV(DIF,13)),A(REF(DIF,1)-HHV(DIF,13))),ABS(REF(DIF,1)-LLV(DIF,13)));TRLSX2:=EMA(TRLSX1,13);TRLSX3:=REF(DIF,1)-REF(TRLSX2,1);:HHV(TRLSX3,13),COLORFFFFFF,NODRAW;RSV14:=(CLOSE - LLV(LOW,14))/(HHV(HIGH,14) - LLV(LOW,14))-0.5;K14:=EMA(RSV14,3),COLORFF00FF,NODRAW;D
 解锁全文需 1  财富值,免费注册即送20财富值!