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

    正文概述    2024-05-04 04:26:32  

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


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


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    通达信可交易指标公式


    强弱指数:(C-L)/(H-L)*100,COLORGREEN;{//大于50要涨;低于50要跌}

    X:=HHV(H,5)-REF(O,5);

    Y:=C-LLV(L,5);

    Z:=(HHV(H,5)-LLV(L,5))*2;

    摆荡指数:(X+Y)/Z*100,COLORWHITE;

    {//大于70%看涨;小于30%看跌;30%至70%之间中性。}

    DA:=EMA((REF(H,1)+L)/2,3);{//下跌值}

    DB:=EMA((REF(L,1)+L)/2,3);{//卖出低点值}

    DC:=EMA((H+L+C)/3*2-H,3);{//卖出值}

    次日买价:(DA+DB+DC+L)/4,LINETHICK,COLOR0089FF;{//均值}

    ZA:=EMA((H+REF(L,1))/2,3);{//上涨值}

    ZB:=EMA((H+REF(H,1))/2,3);{//买进高点值}

    ZC:=EMA((H+L+C)/3*2-L,3);{//突破买入值}

    次日卖价:(ZA+ZB+ZC+H)/4,LINETHICK,COLOR00FFFF;{//均值};

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

    A:=EMA(JJ,10);

    B:=REF(A,1);

    STICKLINE(AB,A,B,5,0),COLORYELLOW;

    STICKLINE(AB,A,B,5,0),COLORBLUE;

    MM1:=EMA(CLOSE,5);

    MM2:=EMA(CLOSE,8);

    MM3:=EMA(MM2,13);

    MM4:=EMA(MM2,55);

    VVAR1:=EMA(MM3,55);

    MM5:=EMA(MM4,81), COLORRED,LINETHICK2;

    VVAR2:=(REF(HIGH,1)+REF(LOW,1))/2;

    VVAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);

    DRAWICON(CROSS(VVAR2,VVAR3),HIGH*1.035,2);

    DRAWTEXT(CROSS(VVAR2,VVAR3),HIGH*1.02, #39;卖出 #39;), COLORGREEN;

    VVAR4:=REF(CLOSE,1);

    VVAR5:=SMA(MAX(CLOSE-VVAR4,0),7,1)/SMA(ABS(CLOSE-VVAR4),7,1)*100;

    VVAR6:=CROSS(79,VVAR5);

    VVAR7:=FILTER(VVAR6,4);

    DRAWICON(VVAR7,HIGH*1.035,2);

    DRAWTEXT(VVAR7,HIGH*1.02, #39;卖出 #39;), COLORGREEN;

    VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-

    3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);

    VAR22:=8;

    QQ:=CROSS(VAR21,VAR22);

    DRAWTEXT(QQ,L*0.98, #39;买入! #39;),COLOR0099FF;

    MA5:MA(C,5);

    MA10:MA(C,10);

    MA20:MA(C,20);

    MA60:MA(C,60);

    MA120:MA(C,120);

    MA240:MA(C,240);


    image.png


       通达信自动指标公式



    QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

    XVL:=(IF(CLOSEOPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));

    HSL:=(XVL/20)/1.15;

    攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));

    LLJX:=EMA(攻击,3);

    0,COLORGRAY;

    B1:SUM(LLJX,1),COLORCYAN;

    B2:SUM(LLJX,2),COLORGREEN,LINETHICK1;

    B3:SUM(LLJX,3),COLORGREEN,LINETHICK1;

    B4:SUM(LLJX,4),COLORGREEN,LINETHICK1;

    B5:SUM(LLJX,5),COLORGREEN,LINETHICK1;

    B6:SUM(LLJX,6),COLORGREEN,LINETHICK1;

    B7:SUM(LLJX,7),COLORGREEN,LINETHICK1;

    B8:SUM(LLJX,8),COLORGREEN,LINETHICK1;

    B9:SUM(LLJX,9),COLORGREEN,LINETHICK1;

    B10:SUM(LLJX,10),COLORB5B500;

    A1:IF(B1REF(B1,1),B1,DRAWNULL),COLORRED;

    A2:IF(B2REF(B2,1),B2,DRAWNULL),COLORRED;

    A3:IF(B3REF(B3,1),B3,DRAWNULL),COLORRED;

    A4:IF(B4REF(B4,1),B4,DRAWNULL),COLORRED;

    A5:IF(B5REF(B5,1),B5,DRAWNULL),COLORRED;

    A6:IF(B6REF(B6,1),B6,DRAWNULL),COLORRED;

    A7:IF(B7REF(B7,1),B7,DRAWNULL),COLORRED;

    A8:IF(B8REF(B8,1),B8,DRAWNULL),COLORRED;

    A9:IF(B9REF(B9,1),B9,DRAWNULL),COLORRED;

    A10:IF(B10REF(B10,1),B10,DRAWNULL),COLOR16DCF8,LINETHICK1;

    A1:=EMA(C,12)-EMA(C,25);

    A2:=EMA(A1,6);

    获利回吐:(A2=0)*A2,COLORWHITE,LINETHICK0;

    空头回补:(A20)*A2,COLORYELLOW,LINETHICK0;

    坚绝做空:(A10)*A1,COLORGREEN,LINETHICK0;

    买入持股:(A1=0)*A1,COLORRED,LINETHICK0;

    STICKLINE(A2=0,A2,0,3.2,0),COLOR555555;

    STICKLINE(A2=0,A2,0,2.9,0),COLOR777777;

    STICKLINE(A2=0,A2,0,2.4,0),COLOR999999;

    STICKLINE(A2=0,A2,0,1.8,0),COLORBBBBBB;

    STICKLINE(A2=0,A2,0,1.1,0),COLORDDDDDD;

    STICKLINE(A2=0,A2,0,0.3,0),COLORFFFFFF;

    STICKLINE(A20,A2,0,3.2,0),COLORFF5500;

    STICKLINE(A20,A2,0,2.9,0),COLORFF7700;

    STICKLINE(A20,A2,0,2.4,0),COLORFF9900;

    STICKLINE(A20,A2,0,1.8,0),COLORFFBB00;

    STICKLINE(A20,A2,0,1.1,0),COLORFFDD00;

    STICKLINE(A20,A2,0,0.3,0),COLORFFFF00;

    STICKLINE(A10,A1,0,3.2,0),COLORCC0066;

    STICKLINE(A10,A1,0,2.9,0),COLOREE0066;

    STICKLINE(A10,A1,0,2.4,0),COLORFF0066;

    STICKLINE(A10,A1,0,1.8,0),COLORFF2266;

    STICKLINE(A10,A1,0,1.1,0),COLORFF4466;

    STICKLINE(A10,A1,0,0.3,0),COLORFF6666;

    STICKLINE(A1=0,A1,0,3.2,0),COLOR000055;

    STICKLINE(A1=0,A1,0,2.9,0),COLOR000077;

    STICKLINE(A1=0,A1,0,2.4,0),COLOR000099;

    STICKLINE(A1=0,A1,0,1.8,0),COLOR0000BB;

    STICKLINE(A1=0,A1,0,1.1,0),COLOR0000DD;

    STICKLINE(A1=0,A1,0,0.3,0),COLOR0000FF;

    SAR持币:IF(SAR(10,2,20)=H,0,DRAWNULL),CIRCLEDOT,COLORGREEN;

    SAR持股:IF(SAR(10,2,20)=L,0,DRAWNULL),CIRCLEDOT,COLOR000099;


    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信可交易指标公式 通达信自动买卖指标公式 加入收藏