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

    正文概述    2024-04-13 21:01:22  

    超好MACD副

     

    {超好MACD副}

    R1:=12;      R2:=26;       R3:=9;

    D1:=EMA(C,3)-EMA(C,8);     D2:=EMA(O,3)-EMA(O,8);

    D3:=EMA(H,3)-EMA(H,8);     D4:=EMA(L,3)-EMA(L,8);

    DIF:EMA(C,R1)-EMA(C,R2),COLOR00FF00;

    DEA:EMA(DIF,R3),COLORYELLOW;

    MACD:(DIF-DEA)*2,COLORSTICK;

    STICKLINE(D1>=D2,D1,D2,3.2,0),COLOR990099;

    STICKLINE(D1<=D2,D1,D2,3.0,0),COLOR990099;

    STICKLINE(D1>=D2,D1,D2,2.1,0),COLORBB00BB;

    STICKLINE(D1>=D2,D1,D2,1.0,0),COLORDD00DD;

    STICKLINE(D1>=D2,D3,D4,0.0,0),COLORFF00FF;

    STICKLINE(D1<=D2,D1,D2,3,0),COLOR007700;

    STICKLINE(D1<=D2,D1,D2,2,0),COLOR009900;

    STICKLINE(D1<=D2,D1,D2,1,0),COLOR00BB00;

    STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;

    TJ1:EMA(DEA,4),COLORFFCC00;

    TJ2:=EMA(DIF,17);

    IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORWHITE;

    IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORRED;

    IF(TJ1>REF(TJ1,1),TJ1,DRAWNULL),COLORMAGENTA;

    0,COLOR99DDFF,LINETHICK1;

    DRAWTEXT_FIX(1,0.3,0.05,0,'关注绿柱后第一根粉红柱【粉红柱--主升段】'),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 超好MACD副图源码 加入收藏