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

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

    TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
    CI:(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
    C2:MA(CI,4);
    C3:MA(CI,10),linethick2;;
    FILLRGN(CI,C2,CI>C2,RGB(0,255,0,),CI FILLRGN(CI,C3,CI>C3,RGB(255,0,0,),CI LC := REF(CLOSE,1);
    DI:=(EMA(CLOSE,12) - EMA(CLOSE,26))*200;
    DE:=EMA(DI,9);
    macd:=2*(DI-DE);
    RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*400-200;
    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,8,0),COLOR0000AA;
    STICKLINE(MACD>0 AND MACD STICKLINE(MACD<0 AND MACD STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,8,0),COLORFF00A9;
    DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
    DEA :=EMA(DIFF,9);
    MACD :=2*(DIFF-DEA);
    绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;
    红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),colorred;
    STICKLINE(DEA>=0,0,DEA,2,0),colorblue;
    STICKLINE(DEA<0,0,DEA,2,0),coloryellow;
    DRAWICON(crOSS(DIFF,DEA),DEA*1.1,1);
    DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
    强1:IF(DIFF>DEA,DIFF,DRAWNULL),colorred;
    强2:IF(DEA Zero : 0;
    gj:=MAX(C,O);
    STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;
    STICKLINE(MACD>0 AND MACD STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;
    STICKLINE(MACD<0 AND MACD L4:=LLV(gj,4);
    H4:=HHV(gj,4);
    A9:=(HIGH+LOW)/2;
    TT:=(2*CLOSE+OPEN+HIGH+LOW);
    主导动能:TT/EMA(TT,4)-1,COLORSTICK;
    FF:=主导动能;
    STICKLINE(FF>0,0,FF,3,0),COLOR33CFDD;
    STICKLINE(FF>0 AND FF>REF(FF,1),0,FF,3,0),COLOR0000CC;
    STICKLINE(FF<=0,0,FF,3,0),COLOR00CC00;
    STICKLINE(FF<=0 AND FF>REF(FF,1),0,FF,3,0),COLORFF9900;
    做多主导:IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC;
    获利回吐:IFF(FF>0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR33CFDD;
    做空主导:IFF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR00CC00;
    空头回补:IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF9900;


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