同花顺MACD加强指标公式

2024-08-15 16:00发布

SHORT:=12;LONG:=26;MID:=9;DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA :=EMA(DIFF,M); := 2*(DIFF-DEA);Zero : 0;IFF:= DIFF-REF(DIFF,1);KDEA:= DEA-REF(DEA,1);KMACD:= MACD-REF(MACD,1);KDI:MA(KDIFF,2)*100;KDE:MA(KDEA,2)*100;KMA:MA(KMACD,2)*100;CKDI:=A(ABS(KDI)-ABS(REF(KDI,1)));CCKDI:=ABS(ABS(CKDI)-ABS(REF(CKDI,1)));CKMA:=ABS(ABS(KMA)-ABS(REF(KMA,1)));CCKMA:=ABS(ABS(CKMA)-ABS(REF(CKMA,1)));CMA:=ABS(ABS(KMA)-ABS(KDI));MA5:=MA(CLOSE,5);CMA5:=ABS(ABS(MA5)-ABS(REF(MA5,1)));KDITDE:KDI-KDE;SALE:=KDI>0 A
 解锁全文需 1  财富值,免费注册即送20财富值!