最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺主导动能和MACD指标公式

    正文概述    2024-04-14 13:50:20  

    DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
     DEA  : EMA(DIFF,9);
     DRAWICON(CROSS(DIFF,DEA),DIFF,1);
     DRAWICON(CROSS(DEA,DIFF),DEA,2);
     Jdxs:=HHV(DIFF,0)*10;
     TT:=(2*CLOSE+OPEN+HIGH+LOW);
    主导动能:=TT/EMA(TT,4)-1,COLORSTICK;
     FF:=主导动能*Jdxs;
     STICKLINE(FF>0,0,FF,8,0),COLOR33CFDD;//黄色:获利回吐
    STICKLINE(FF>0 AND FF>REF(FF,1),0,FF,8,0),COLOR0000CC;//红色:做多主导
    STICKLINE(FF<=0,0,FF,8,0),colorgreen;//绿色:做空主导
    STICKLINE(FF<=0 AND FF>REF(FF,1),0,FF,8,0),COLORFF3300;//蓝色:空头回补
     做多主导:IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC;
    获利回吐:IFF(FF>0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR33CFDD;
    做空主导:IFF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR00CC00;
    空头回补:IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF6600;
     //零线:0;
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺主导动能和MACD指标公式 加入收藏