• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票知识]通达信MACD时间周期指标公式

    发布时间: 2020-09-29 11:47 首页:股票一点通>股票公式>通达信公式> 阅读()

    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9) LINETHICK1 COLOR00FFFF ;
    DEA1:EMA(DIF,9) LINETHICK2 COLOR006EE4 ;
    MACD:(DIF-DEA)*2,COLORSTICK;
    红面积:IF(DIF>DEA,SUM(MACD,BARSLAST(CROSS(DIF,DEA))),DRAWNULL),NODRAW,COLORLIRED;
    绿面积:IF(DIFDRAWNUMBER(CROSS(DIF,DEA),DEA,REF(绿面积,1)),COLORGREEN;
    DRAWNUMBER(CROSS(DEA,DIF),DEA*1.1,REF(红面积,1)),COLORLIRED;
    DRAWNUMBER(DIF>DEA,MACD,BARSLAST(CROSS(DIF,DEA))+1),COLORRED;
    DRAWNUMBER(DIFSTICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=7,0,MACD,1,0),COLOR00ECFD;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=7,0,MACD,1.5,0),COLOR00B5F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=7,0,MACD,2,0),COLOR0084F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=15,0,MACD,1,0),COLOR00ECFD;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=15,0,MACD,1.5,0),COLOR00B5F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=15,0,MACD,2,0),COLOR0084F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=28,0,MACD,1,0),COLOR00ECFD;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=28,0,MACD,1.5,0),COLOR00B5F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=28,0,MACD,2,0),COLOR0084F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=36,0,MACD,1,0),COLOR00ECFD;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=36,0,MACD,1.5,0),COLOR00B5F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=36,0,MACD,2,0),COLOR0084F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=48,0,MACD,1,0),COLOR00ECFD;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=48,0,MACD,1.5,0),COLOR00B5F3;
    STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=48,0,MACD,2,0),COLOR0084F3;
    STICKLINE(COUNT(DIFSTICKLINE(COUNT(DIFSTICKLINE(COUNT(DIFSTICKLINE(COUNT(DIFSTICKLINE(COUNT(DIFIF(DIF>REF(DIF,1),DIF,DRAWNULL) CIRCLEDOT LINETHICK3 COLOR2424FF;
    IF(DIF>REF(DIF,1),DIF,DRAWNULL) CIRCLEDOT LINETHICK1 COLOR6666FF;
    IF(DIFIF(DIF

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map