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

    正文概述    2024-04-13 03:43:11  

    多周期MACD共振的力度六组,力度依弱到强,,在上涨
    的时候分五种,一种是超短线,一种是常规的短线,一种是月级别,一种是季级别,一种是半年
    级别,一种是年级别。年和半年级别只在于长线方向的判定,剩下四个级别可以作为共振的选择。
    长线在在空间上分为四部分,熊市结尾到零轴,零轴到牛市结束,牛市高点到零轴,零轴到熊市
    结尾,选取可以操作的分为紫色买进持仓,黄色减仓择机进场,淡蓝色抢熊市反弹,蓝色空
    仓离场

    0,COLOR666666;
    DIF1:=(EMA(C,6)-EMA(C,13));
    DEA1:=EMA(DIF1,6),colorwhite;
    MACD1:=(DIF1-DEA1)*2;
    MAMACD1:=MA(MACD1,2);
    DIF2:=(EMA(C,12)-EMA(C,26));
    DEA2:=EMA(DIF2,9),colorwhite;
    MACD2:=(DIF2-DEA2)*2;
    MAMACD2:=MA(MACD2,2);
    DIF3:=(EMA(C,20)-EMA(C,60));
    DEA3:=EMA(DIF3,10),colorwhite;
    MACD3:=(DIF3-DEA3)*2;
    MAMACD3:=MA(MACD3,2);
    DIF4:=(EMA(C,60)-EMA(C,120));
    DEA4:=EMA(DIF4,10),colorwhite;
    MACD4:=(DIF4-DEA4)*2;
    MAMACD4:=MA(MACD4,2);
    DIF5:=(EMA(C,120)-EMA(C,250));
    DEA5:=EMA(DIF5,10),colorwhite;
    MACD5:=(DIF5-DEA5)*2;
    MAMACD5:=MA(MACD5,2);
    DIF6:=(EMA(C,250)-EMA(C,500));
    DEA6:=EMA(DIF6,10),colorwhite;
    MACD6:=(DIF6-DEA6)*2;
    MAMACD6:=MA(MACD6,2);
    A1:=DIF1 =REF(DIF1,1);
    A2:=DIF2 =REF(DIF2,1);
    A3:=DIF3 =REF(DIF3,1);
    A4:=DIF4 =REF(DIF4,1);
    A5:=DIF5 =REF(DIF5,1);
    A6:=DIF6 =REF(DIF6,1);
    B1:=DIF1 =REF(DIF1,1);
    B2:=DIF2 =REF(DIF2,1);
    B3:=DIF3 =REF(DIF3,1);
    B4:=DIF4 =REF(DIF4,1);
    B5:=DIF5 =REF(DIF5,1);
    B6:=DIF6 =REF(DIF6,1);
    A7:=DIF6 0 AND DIF6 REF(DIF6,1);
    熊市初期A8:=DIF6 0 AND DIF6 REF(DIF6,1);{}
    牛市初期A9:=DIF6 0 AND DIF6 REF(DIF6,1);
    牛市成长期A10:=DIF6 0 AND DIF6 REF(DIF6,1);
    A11:=DIF4 =REF(DIF4,1);
    A12:=DIF5 =REF(DIF5,1);
    STICKLINE(A6,0,1,3,0),colorblue;
    STICKLINE(A5,1,2,3,0),COLORDDDDDD;
    STICKLINE(A4,2,3,3,0),colorred;
    STICKLINE(A4 AND A3 AND A2,3,4,3,0),colormagenta;
    STICKLINE(A4 AND A3 AND A2 AND A1,4,5,3,0),coloryellow;
    STICKLINE(B6,0,1,3,0),COLOR333333;
    STICKLINE(B5,1,2,3,0),COLOR444444;
    STICKLINE(B4,2,3,3,0),COLOR666666;
    STICKLINE(A6 OR A5,7.5,8,3,0),COLOR339999;
    STICKLINE(A6 OR A5,7.5,8,1,0),COLOR33FFFF;
    STICKLINE(B5 OR B6,7.5,8,3,0),COLOR333333;
    STICKLINE(B5 OR B6,7.5,8,1,0),COLOR666666;
    STICKLINE((A6 OR A5) AND A4 AND A3 AND A2 ,7.5,8,3,0),COLOR993399;
    STICKLINE((A6 OR A5) AND A4 AND A3 AND A2 ,7.5,8,1,0),COLORFF00FF;
    STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 AND A1,7.5,8,3,0),COLOR666600;
    STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 AND A1,7.5,8,1,0),COLORFFFF00

    同花顺MACD共振副图源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺MACD共振副图源码 加入收藏