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

    正文概述    2024-04-13 16:40:15  

    DIF:(EMA(C,5)-EMA(C,21))/EMA(C,21)*100,COLORF0F0F0;
    DEA:EMA(DIF,8),COLOR00DCDC;
    macd:2*(DIF-DEA),COLORSTICK,COLOR0000DC;
    STICKLINE(MacD>0,MACD,0,2,1),COLOR0000DC;
    STICKLINE(MACD>0 AND MACD STICKLINE(MACD<=0,MACD,0,2,1),COLORGRAY;
    STICKLINE(MACD<=0 AND MACD>REF(MACD,1),MACD,0,2,1),COLORC800C8;
    X0:=BArslAST((crOSS(MACD,REF(MACD,1)) AND MACD>0) OR CROSS(MACD,0));
    X1:=BARSLAST(CROSS(0.5,COUNT(MACD>REF(MACD,1),X0+1)=X0+1));{回}
    X2:=COUNT(MACD X3:=REF(X2,1) AND MACD>REF(MACD,1) AND C>O AND C>REF(C,1);
    STICKLINE(X1=0 AND MACD>0,MACD,0,2,0),COLORDCDC00;
    STICKLINE(X3,MACD,0,2,0),COLOR0854FF;
    NOTEXTDIF:DIF,COLORWHITE;
    NOTEXTDEA:DEA,COLORYELLOW;
    { _最新股票指标公式}
    NOTEXT:IF(DIF>=REF(DIF,1),DIF,DRAWNULL),COLORRED;
    ER:=vol/CAPITAL*100;
    ZD:=C/REF(C,1)*100-100;
    A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2));
    A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1);
    A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5;
    B0:=BARSLAST(A1 AND A2);
    B1:=COUNT(MACD B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C=1);
    B3:=B1 AND B2;
    B4:=REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0;
    DRAWICON(B4,Abs(MACD)+1,1);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信MACD优指标公式 加入收藏