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

    正文概述    2024-04-13 15:58:43  

    VC:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2));
    SQX:=(VC-MA(VC,13))*100;
    DIF:MA(SQX,5),COLORWHITE;
    DEA:EMA(DIF,5),COLORYELLOW;
    macd:(DIF-DEA)*2,COLORSTICK;
    JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
    MacD1:=MACD;
    MACD2:=REF(MACD,1);
    MACD下:IF(MACD1 STICK,COLORFF9900,LINETHICK1;
    趋势2:EMA(EMA(EMA(C,5)-REF(EMA(C,5),1),5),5);
    趋势4:EMA(EMA(EMA(C,3)-REF(EMA(C,3),1),4),4);
    DRAWICON(CROSS(趋势4,趋势2),趋势2,1);
    DRAWICON(CROSS(趋势4,REF(趋势4,1))AND 趋势4<趋势2,趋势2,1);
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,3.2,0),COLOR000055;
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.7,0),COLOR000077;
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.1,0),COLOR000099;
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1.5,0),COLOR0000BB;
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.9,0),COLOR0000DD;
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.3,0),COLOR0000FF;
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,3.2,0),COLOR555555;
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.7,0),COLOR777777;
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.1,0),COLOR999999;
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1.5,0),COLORBBBBBB;
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.9,0),COLORDDDDDD;
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.3,0),COLORFFFFFF;
    STICKLINE(MACD1 STICKLINE(MACD1 STICKLINE(MACD1 STICKLINE(MACD1 STICKLINE(MACD1 STICKLINE(MACD1 STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信MACD趋势买入指标公式 加入收藏