最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信胤夫老师原创 MACD 一眼看清主升 副图指标 源码 附图

    正文概述    2024-04-14 20:01:16  
    V1:=IF(C/REF(C,1) AND C=O AND C=H,HHV(V,10),V);
    C1:=IF(C>O,H,L);
    MAH:=MA(H,3);
    MA20:=MA(C1,20);
    MA60:=MA(C1,60);
    DIF:=V1*MAH-V1*MA20,LINETHICK2;
    DEA:=EMA(DIF,6),LINETHICK2;
    MACD:(DIF-DEA)*2,COLORSTICK,COLORGREEN;

    DIF2:=V1*MAH-V1*MA60;
    DEA2:=EMA(DIF,6),LINETHICK2;
    MACD2:(DIF2-DEA2)*2,COLORSTICK;

    DRAWBAND(-DIF2,RGB(100,55,0),-DEA2,RGB(255,0,255));
    DRAWBAND(DIF,RGB(255,255,0),DEA,RGB(0,255,0));
    DRAWBAND(DEA,RGB(222,111,0),-DEA2,RGB(0,11,222));
    升:=(-DIF2<-DEA2 AND DIF>DEA AND DEA>-DEA2);

    STICKLINE(MACD>REF(MACD,1),MACD,REF(MACD,1),2,0),COLOR000080;
    STICKLINE(MACD>REF(MACD,1),MACD,REF(MACD,1),0.1,0),COLOR0000FF;
    STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,REF(MACD,1),2,0),COLOR8C008C;
    STICKLINE(MACD>REF(MACD,1) AND MACD<0,MACD,REF(MACD,1),0.1,0),COLORFF00FF;
    STICKLINE(MACD0,MACD,REF(MACD,1),2,0),COLOR009D9D;
    STICKLINE(MACD0,MACD,REF(MACD,1),0.1,0),COLOR00FFFF;
    STICKLINE(MACD STICKLINE(MACD
    STICKLINE(MACD2>REF(MACD2,1),-MACD2,-REF(MACD2,1),2,0),COLOR000080;
    STICKLINE(MACD2>REF(MACD2,1),-MACD2,-REF(MACD2,1),0.1,0),COLOR0000FF;
    STICKLINE(MACD2>REF(MACD2,1) AND MACD2<0,-MACD2,-REF(MACD2,1),2,0),COLOR8C008C;
    STICKLINE(MACD2>REF(MACD2,1) AND MACD2<0,-MACD2,-REF(MACD2,1),0.1,0),COLORFF00FF;
    STICKLINE(MACD20,-MACD2,-REF(MACD2,1),2,0),COLOR009D9D;
    STICKLINE(MACD20,-MACD2,-REF(MACD2,1),0.1,0),COLOR00FFFF;
    STICKLINE(MACD2 STICKLINE(MACD2
    DRAWTEXT(升 AND COUNT(升,5)=1,MACD,'★升'),COLORWHITE;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信胤夫老师原创 MACD 一眼看清主升 副图指标 源码 附图 加入收藏