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

    正文概述    2024-05-04 04:04:09  

    通达信指标公式源码概况:


    指标类别: 通达信指标公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图

     

    一、通达信红蓝带指标公式


    {涨幅:-30,30,3。TP转换PW:0,1,1。} 

    移动线:IF(LLVBARS(V,5),REF 

    (C,LLVBARS(V,5)),C),COLORGREEN,DOTLINE; 

    TP线:PEAK(移动线,0.2,1),COLORLIRED,NODRAW; 

    STICKLINE(TP线 0,TP线,TP线,4,-1),COLORLIRED; 

    PW线:TROUGH(移动线,0.2,1),COLORCYAN,NODRAW; 

    STICKLINE(PW线 0,PW线,PW线,4,-1),COLORCYAN; 

    PW:=CONST(PW线); 

    TP:=CONST(TP线); 

    ZH:=IF(TP转换PW=1,PW,TP); 

    最低:=TROUGHBARS(移动线,0.2,1); 

    幅度:=1+(涨幅/100); 

    涨幅尺%:DRAWLINE(最低=0,ZH*幅度,ISLASTBAR,ZH*幅度,1),COLOR00BBFF; 

    DRAWTEXT(ISLASTBAR,涨幅尺%, 涨幅尺 ),COLOR00BBFF; 

    SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 

    饱和:=IF(SAT 1,1,SAT)*100,NODRAW; 

    获利:=WINNER(C)*100,NODRAW; 

    LC:=REF(CLOSE,1); 

    RSI值:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSELC),6,1)*100; 

    WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)- 

    LLV(LOW,3))*100; 

    活跃:=(RSI值-WR10); 

    活跃度比:=IF(活跃 =0,(活跃+100)/2,100-ABS((活跃- 

    100)/2)),NODRAW; 

    DRAWRECTREL(80,10,240,60,RGB(0,75,200)); 

    DRAWRECTREL(80,10,160,60,RGB(0,100,0)); 

    DRAWRECTREL(80,10,80+CONST( 

    *160/100),60,RGB(200,0,50)); 

    DRAWTEXT_FIX(1,0.00,0.01,0,STRCAT(STRCAT( 活跃度比: 

    ,CON2STR(活跃度比,2)), % )),COLORYELLOW; 

    DRAWRECTREL(80,70,240,120,RGB(0,75,200)); 

    DRAWRECTREL(80,70,160,120,RGB(0,100,0)); 

    DRAWRECTREL(80,70,80+CONST( 

    *160/100),120,RGB(200,0,50)); 

    DRAWTEXT_FIX(1,0.00,0.07,0,STRCAT(STRCAT( 获利筹码: 

    ,CON2STR(获利筹码,2)), % )),COLORYELLOW; 

    DRAWRECTREL(80,130,240,180,RGB(0,75,200)); 

    DRAWRECTREL(80,130,160,180,RGB(0,100,0)); 

    DRAWRECTREL(80,130,80+CONST( 

    *160/100),180,RGB(200,0,50)); 

    DRAWTEXT_FIX(1,0.00,0.13,0,STRCAT(STRCAT( 量能饱和: 

    ,CON2STR(量能饱和,2)), % )),COLORYELLOW; 

    N:=27; 

    {预测当天最低价公式} 

    A1:=REF(O,1); 

    A2:=ABS((REF(C,1)-A1)/A1); 

    A3:=ABS((REF(H,1)-A1)/A1); 

    A4:=ABS((REF(L,1)-A1)/A1); 

    B1:=ABS((A2+A3+A4)/3); 

    B2:=O*B1; 

    预测低一:=O-B2; 

    预测高一:=O+B2; 

    量能饱和获利筹码活跃度比 

    开盘价1:=OPEN; 

    开盘价2:=REF(OPEN,1); 

    最高价1:=HIGH; 

    最高价2:=REF(HIGH,1); 

    最低价1:=LOW; 

    最低价2:=REF(LOW,1); 

    收盘价1:=CLOSE; 

    收盘价2:=REF(CLOSE,1); 

    AA:=最高价2; 

    BB:=最低价2; 

    CC:=开盘价2; 

    DD:=收盘价2; 

    EE:=(AA+BB+CC+2*DD)/5; 

    AAA:=EE+(AA-BB); 

    BBB:=2*EE-BB; 

    CCC:=2*EE-AA; 

    DDD:=EE-(AA-BB); 

    上升价:=AAA; 

    上升阻力价:=BBB; 

    下跌支撑价:=CCC; 

    下跌价:=DDD; 

    EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5; 

    心理价:=EEE; 

    FFF:=(EEE+开盘价1)/2; 

    GGG:=(预测低一+FFF)/2; 

    预测低二:=GGG; 

    预测高二:=MA(REF(HIGH,1)/REF(CLOSE,2),N)*REF(CLOSE,1); 

    买回价:=预测低二*1.015; 

    卖出价:=买回价*(1+0.03); 

    DRAWTEXT_FIX(1,0.085,0.21,1, 买回价格: ),COLOR8080FF; 

    DRAWNUMBER_FIX(1,0.15,0.21,1,CONST( 

    价)),COLOR8080FF; 

    DRAWTEXT_FIX(1,0.17.5,0.21,1,  

    ),COLOR8080FF,LINETHICK1; 

    买回元 

    DRAWTEXT_FIX(1,0.085,0.25,1, 预测低一: ),COLORYELLOW; 

    DRAWNUMBER_FIX(1,0.15,0.25,1,CONST( 

    一)),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.17,0.25,1,  

    ),COLORYELLOW,LINETHICK1; 

    DRAWTEXT_FIX(1,0.085,0.29,1, 预测低二: ),COLORYELLOW; 

    DRAWNUMBER_FIX(1,0.15,0.29,1,CONST( 

    二)),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.17,0.29,1,  

    ),COLORYELLOW,LINETHICK1; 

    DRAWTEXT_FIX(1,0.085,0.33,1, 卖出价格: ),COLOR8080FF; 

    DRAWNUMBER_FIX(1,0.15,0.33,1,CONST( 

    价)),COLOR8080FF; 

    DRAWTEXT_FIX(1,0.17,0.33,1, 元 ),COLOR8080FF,LINETHICK1; 

    DRAWTEXT_FIX(1,0.085,0.37,1, 预测高一: ),COLORFFFFFF; 

    DRAWNUMBER_FIX(1,0.15,0.37,1,CONST( 

    一)),COLORFFFFFF; 

    DRAWTEXT_FIX(1,0.17,0.37,1, 元 ),COLORFFFFFF,LINETHICK1; 

    DRAWTEXT_FIX(1,0.085,0.41,1, 预测高二: ),COLORFFFFFF; 

    DRAWNUMBER_FIX(1,0.15,0.41,1,CONST( 

    二)),COLORFFFFFF; 

    预测高预测高卖出元预测低元预测低 

    DRAWTEXT_FIX(1,0.17,0.41,1, 元 ),COLORFFFFFF,LINETHICK1; 

    红 

    RCLEDOT; 

    绿 

    N,CIRCLEDOT; 

    色雷达:IF(CLOSE =SAR(4,2,20),SAR(4,2,20),DRAWNULL),COLORGREE


    image.png




    二、通达信黄蓝带指标公式


     

    VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; 

    VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; 

    VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; 

    VAR6:=(VAR3+VAR4+VAR5)/3; 

    VAR7:=EMA(VAR6,5); 

    指标:EMA(EMA(VAR3,5),5)*3,COLORSTICK; 

    VAR8:=IF(VAR6 =-20,10,0); 

    VAR9:=HHV(VAR8,10); 

    STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF; 

    VARA:=IF(VAR9 

    CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); 

    K:EMA(VAR7,5)*2,COLORFF00FF; 

    D:EMA(K,5),COLORWHITE; 

    J:K*3-D*2,COLORYELLOW; 

    AND 

    VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) 

    J  

    换手:/CAPITAL*100,COLORGREEN; 

    AND 

    DRAWTEXT(VARA=20,15, 底部 ),LINETHICK1,COLORWHITE; 

    STICKLINE((VARA=20),0,10,5,0),COLORWHITE; 

    VARC:=(ZIG(3,5) REF(ZIG(3,5),1)) 

    (REF(ZIG(3,5),1) =REF(ZIG(3,5),2))AND(REF(ZIG 

    (3,5),2) =REF(ZIG(3,5),3)); 

    VARD:=(ZIG(3,5) REF(ZIG(3,5),1)) 

    (REF(ZIG(3,5),1) =REF(ZIG(3,5),2))AND(REF(ZIG 

    (3,5),2) =REF(ZIG(3,5),3)); 

    STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF; 

    DRAWTEXT((VARC=1),(-14), 买 ),COLOR0000FF; 

    STICKLINE((VARD=1),14,0,4,0),COLOR00FF00; 

    DRAWTEXT((VARD=1),18, 卖 ),COLOR00FF00; 

    VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)- 

    LLV(LOW,34)),5)-20; 

    VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)- 

    LLV(LOW,75))*100,20,1)+2*SMA(SMA 

    ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)- 

    LLV(LOW,75))*100,20,1),15,1); 

    VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)- 

    LLV(LOW,75))*100,20,1)+2*SMA(SMA 

    ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)- 

    LLV(LOW,75))*100,20,1),15,1); 

    VAR11:=VARFREF(VOL,1)AND 

    CLOSE REF(CLOSE,1); 

    DRAWTEXT(VAR11ANDCOUNT(VAR11,30)=1,15, 大活动 

    ),LINETHICK1,COLORFF00FF; 

    STICKLINE(VAR11AND 

    AND 

    AND 

    COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF; 

    VAR12:=(HIGH+LOW+CLOSE)/3; 

    VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); 

    VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); 

    VAR15:=IF(VAR13 =150ANDVAR13 200AND 

    VAR14 =150ANDVAR14 200,10,0); 

    VAR16:=IF(VAR13 =-150andvar13 -200ANDVAR14 =- 

    150ANDVAR14 -200,-10,VAR15); 

    VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; 

    VAR18:=100-ABS(VAR17); 

    VAR19:=IF(VAR18 90,VAR18,100); 

    VAR1A:=IF(VARE 0,VARE,0); 

    VAR1B:=IF(VAR14 =200ANDVAR13 =150,15,IF(VAR14 =- 

    200ANDVAR13 =-150,-15,VAR16))+60; 

    VAR1C:=VAR1A 48ANDVAR1B 60ANDVAR19  

    DRAWTEXT(VAR1CANDCOUNT(VAR1C,30)=1,15, 大笔出货 

    ),LINETHICK1,COLORFFCC66; 

    STICKLINE(VAR1C 

    COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66


    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信红蓝带指标公式(通达信黄蓝带指标公式) 加入收藏