最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺MACD加强指标公式

    正文概述    2024-04-14 17:54:55  

    SHORT:=12;
    LONG:=26;
    MID:=9;
    DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
    DEA :=EMA(DIFF,M);
    macd := 2*(DIFF-DEA);
    Zero : 0;
    kdIFF:= 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:=Abs(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 AND KMA>0 AND (CKDI BUY1:=IF( (DIFFMACD) OR (KMACD0 AND REF(KDITDE,1)<0 OR CMA DRAWTEXT(SALE,KMA*1.20,'走'),colorwhite;
    DRAWTEXT(BUY1,KMA*1.20,'入'),colorred;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺MACD加强指标公式 加入收藏