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

    正文概述    2024-04-07 08:06:36  
    VAR3:=DEA-(DIFF-DEA);
    UP:IF(DIFF VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORBB0000,LINETHICK2;
    DN:IF(DIFF VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2),COLORAA00AA,LINETHICK2;
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    底背离:=REF(CLOSE,A1+1) CLOSE AND DIFF REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
    {抢钱:IF(底背离,0.1,0),LINETHICK3,COLORRED;}
    DRAWTEXT(底背离,0.1,' 抢钱啦'),COLORWHITE;
    A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    顶背离:=REF(CLOSE,A2+1) CLOSE AND REF(DIFF,A2+1) DIFF AND CROSS(DEA,DIFF);
    DRAWTEXT(顶背离,0.1,' 逃命啦'),COLORWHITE;
    {低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;
    A:DYNAINFO(3) L AND 低吸 }
    D1:=EMA(C,3)-EMA(C,8);
    D2:=EMA(O,3)-EMA(O,8);
    D3:=EMA(L,3)-EMA(L,8);
    D4:=EMA(H,3)-EMA(H,8);
    A11:=(D1+D2+D3+D4)/4;
    股价轨迹:A11,COLORGREEN,LINETHICK2;


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