最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信黄金共振波套装 主副图大势同频共振 源码附图

    正文概述    2024-04-14 19:51:24  
    {黄金共振波Z源码如下}



    BK1:=STRCAT(HYBLOCK,' ');

    BK2:=STRCAT(BK1,DYBLOCK);

    BK3:=STRCAT(BK2,' ');

    BK4:=STRCAT(BK3,GNBLOCK);

    DRAWTEXT_FIX(ISLASTBAR,0.0,0.01,0,STRCAT('所属板块:',BK4)),COLORFFFF00;

    跟庄趋势:EMA((MA(C,5)+MA(C,8)+MA(C,13)+MA(C,21)+MA(C,34))/5,8),COLORRED,LINETHICK2;

    空头:IF(C<=跟庄趋势,跟庄趋势,DRAWNULL),COLORCYAN,LINETHICK2;

    DI:=(EMA(CLOSE,12)-EMA(CLOSE,26));

    DE:=(EMA(DI,9));

    M:=(DI-DE)*2;

    R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20);

    ZT:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;

    DT:=100*(C/REF(C,1)-1)<-R+0.01/REF(C,1)*100;

    SPAN:=BARSLAST(EVERY(ZT,2));

    量:=REF(V,1)=LLV(V,SPAN);

    共振:=M>REF(M,1) AND REF(M,1)
    XG:=SPAN<=13 AND SPAN>=5 AND 量 AND 共振;

    止损:=REF(LLV(L,SPAN-BARSLAST(XG)),BARSLAST(XG));

    买入止损:IF(BARSLAST(XG)>=0 AND BARSLAST(XG)<=50,止损,DRAWNULL),COLORCYAN,DOTLINE;

    TJ11:=C>=O;

    TJ12:=C
    STICKLINE(TJ11,H,L,0,0),COLOR0000DD;

    STICKLINE(TJ11,C,O,2.7,0),COLOR000099;

    STICKLINE(TJ11,C,O,1.8,0),COLOR0000BB;

    STICKLINE(TJ11,C,O,1,0),COLOR0000DD;

    STICKLINE(TJ12,HIGH,LOW,0,1),COLORGREEN;

    STICKLINE(TJ12,CLOSE,OPEN,2.7,0),COLOR006600;

    STICKLINE(TJ12,CLOSE,OPEN,2.3,0),COLOR008800;

    STICKLINE(TJ12,CLOSE,OPEN,1.8,0),COLOR00AA00;

    STICKLINE(TJ12,CLOSE,OPEN,1.3,0),COLOR00CC00;

    STICKLINE(TJ12,CLOSE,OPEN,0.3,0),COLORGREEN;

    STICKLINE(ZT,HIGH,LOW,0,1),COLORFF55FF;

    STICKLINE(ZT,CLOSE,OPEN,2.7,0),COLOR880088;

    STICKLINE(ZT,CLOSE,OPEN,2.3,0),COLORAA00AA;

    STICKLINE(ZT,CLOSE,OPEN,1.8,0),COLORCC00CC;

    STICKLINE(ZT,CLOSE,OPEN,1.3,0),COLOREE00EE;

    STICKLINE(ZT,CLOSE,OPEN,0.3,0),COLORFF44FF;

    STICKLINE(DT,H,L,0,0),COLOREEEEEE;

    STICKLINE(DT,C,O,2.7,0),COLOR9F9F9F;

    STICKLINE(DT,C,O,1.8,0),COLORCCCCCC;

    STICKLINE(DT,C,O,1,0),COLOREEEEEE;

    {龙回头}

    STICKLINE(XG,LOW,HIGH,0,0),COLOR0088EE;

    STICKLINE(XG,CLOSE,OPEN,2.7,0),COLOR0055AA;

    STICKLINE(XG,CLOSE,OPEN,2.3,0),COLOR0066BB;

    STICKLINE(XG,CLOSE,OPEN,1.8,0),COLOR0099EE;

    STICKLINE(XG,CLOSE,OPEN,1.3,0),COLOR00AAFF;

    STICKLINE(XG,CLOSE,OPEN,0.3,0),COLOR00CCFF;

    STICKLINE(XG,CLOSE,OPEN,0.2,0),COLORYELLOW;

    DRAWTEXT(XG,L*0.998,'←黄金龙回头'),COLORYELLOW;




    {黄金共振波F 源码如下:}




    R:=2.5;放量:=VOL>=REF(VOL,1)*1.5 && VOL
    倍量:=VOL>=REF(VOL,1)*2 && VOL
    STICKLINE(C>=O,0,VOL,R,1),COLORRED;

    STICKLINE(C
    STICKLINE(放量,0,VOL,R,0),COLORLIRED;

    STICKLINE(倍量,0,VOL,R,0),COLORYELLOW;

    三倍:=VOL>=REF(VOL,1)*3,COLORMAGENTA;

    STICKLINE(三倍,0,V,R,0),COLORFF00FF;

    缩量:=AMO*2
    STICKLINE(缩量,0,VOL,R,0),COLOR00FF00;

    DRAWTEXT(倍量,VOL*1.1,'倍量'),COLORWHITE;

    DRAWTEXT(三倍,VOL*1.1,'三倍'),COLORFF00F5;

    DRAWTEXT(缩量,VOL*1.1,'缩量'),COLOR00FF00;

    DRAWTEXT(放量,VOL*1.1,'放量'),COLORLIRED;



    {黄金共振波X源码如下}


    DI:=EMA(CLOSE,12)-EMA(CLOSE,26);

    DE:=EMA(DI,9);

    M:=(DI-DE)*2;

    R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20);

    ZT:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;

    DT:=100*(C/REF(C,1)-1)<-R+0.01/REF(C,1)*100;

    SPAN:=BARSLAST(EVERY(ZT,2));

    量:=REF(V,1)=LLV(V,SPAN);

    共振:=M>REF(M,1) AND REF(M,1)
    XG:(SPAN<=13 AND SPAN>=5 AND 量 AND 共振) COLORMAGENTA,LINETHICK3;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信黄金共振波套装 主副图大势同频共振 源码附图 加入收藏