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

    正文概述    2024-04-07 07:04:32  
    通达信MACD红绿灯指标公式股票软件源码如下:

    DIFF:(EMA(C,12)-EMA(C,26))*10,COLORRED,LINETHICK3;
    IF(DIFF REF(DIFF,1),DIFF,DRAWNULL),COLORRED,LINETHICK3;
    IF(DIFF=REF(DIFF,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK3;
    IF(DIFF REF(DIFF,1),DIFF,DRAWNULL),COLORGREEN,LINETHICK3;
    IF(DIFF =REF(DIFF,1),10,DRAWNULL),COLORRED,LINETHICK9;{红灯}
    IF(DIFF =REF(DIFF,1),10,DRAWNULL),COLORGREEN,LINETHICK9;{绿灯}
    {www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
    DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK3;
    MACD:=3*(DIFF-DEA),COLORSTICK;
    DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,13);{红球进,有ZIG}
    DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,14);{绿球出,有ZIG}
    0,LINETHICK2;

    通达信MACD红绿灯指标公式


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » MACD红绿灯指标 (源码) 加入收藏