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

    正文概述    2024-05-04 04:19:53  

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


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


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    通达信指标公式源码


    N :=9;

    M :=14;

    N1 :=6;

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

    CC1:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),ColorFF00FF;

    C1:=SMA(CC1,3,1);

    C2:=SMA(C1,3,1);

    C3:=3*C1-2*C2;

    CB1:=EMA(C3,5);

    CB2:=REF(CB1,1);

    FILLRGN(CC1,100,CC1100,ColorFFFF00);

    FILLRGN(CC1,-100,CC1-100,COLOR00AAFF);

    FILLRGN(100,-100,CC1100,COLOR000000);

    CC2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),ColorFF00FF;

    100,LINEDOT;

    -100,LINEDOT;

    LC := REF(CLOSE,1);

    RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;

    RSI:(RSI1-50)*5.3,LINETHICK2,ColorFFFFFF;

    R1:=SMA(RSI,3,1);

    D1:=SMA(R1,3,1);

    J1:=3*R1-2*D1;

    RR1:=EMA(J1,5);

    RR2:=REF(RR1,1);

    RR:=RR1RR2;

    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

    K:=SMA(RSV,3,1);

    K1:(K-50)*5,Color00FF00;

    K2:=SMA(K1,3,1);

    D2:=SMA(K2,3,1);

    J2:=3*K2-2*D2;

    BB1:=EMA(J2,5);

    BB2:=REF(BB1,1);

    买入:RR AND NOT(REF(RR,1)) AND (RR1-100 AND BB1-100) AND CB1-100,LINETHICK0;

    DRAWICON(买入,-200,4),ALIGN0;

    卖出:REF(RR,1)=1 AND NOT(RR) AND CB1100,LINETHICK0;

    DRAWICON(卖出,200,5),ALIGN0;

    M=12,2,10;

    N1=6,2,100;

    N2=13,2,100;

    LC:=REF(CLOSE,1);

    RS1:=SMA(MAX(CLOSE-LC,0),M,1)/SMA(ABS(CLOSE-LC),M,1)*100;

    ATR:=MA(MAX(MAX((RS1-RS1),ABS(REF(RS1,1)-RS1)),ABS(REF(RS1,1)-RS1)),15);

    VM:=MA(RS1,N1);

    SM:MA(RS1,20),PRECIS1,Coloraaee00,LINETHICK0;

    SU:SM+2*STD(RS1,20),PRECIS1,Coloraaee00,LINETHICK0;

    SD:SM-2*STD(RS1,20),PRECIS1,Coloraaee00,LINETHICK0;

    VU:VM+2.3*ATR,PRECIS1,Colorffffff,LINETHICK0;

    VD:VM-2.1*ATR,PRECIS1,Colorffffff,LINETHICK0;

    //{DRAWGBKLAST(C0),Color7a6500};

    FILLRGN(SU,SD,C0,RGB(0,170,140)),PRECIS1;

    FILLRGN(VU,VD,C0,RGB(210,210,210)),PRECIS1;

    RSI:RS1,PRECIS1,Color0000ff,LINETHICK2,LAYER0;

    MA1:VM,PRECIS1,Colorff0000;

    MA2:MA(RS1,N2),PRECIS1,Color004a00,LINETHICK2;

    强势:70,colorred,LAYER3;

    中势:50,colorblue,LAYER3;

    弱势:30,colorgreen,LAYER3;


    image.png


    通达信最牛rsi指标公式源码


    VAR1:=HHV(HIGH,33);

    VAR2:=LLV(LOW,33);

    A:=(SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1))*(100),COLOR00FFFF;

    价格线:EMA(HHV(A,3),1),colorgreen;

    va1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;

    va2:=SMA(va1,9,1),colorwhite;

    线:SMA(va2,6,1),colorff00ff;

    va4:=3*va2-2*趋势线,colorff00ff;

    撑压线:WMA((va2+趋势线+va4)/3,60),colorred;

    LC:= REF(CLOSE,1);

    RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;

    RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,coloryellow;

    卖线:85,LINETHICK02,POINTDOT,Color15FF15;

    界线:50,LINETHICK02,POINTDOT,ColorFF1EFF;

    买线:20,LINETHICK02,POINTDOT,Color28FFFF;

    N1:=9;

    LC := REF(CLOSE,1);

    MA15:=MA(C,15);

    RSI$1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;

    K:RSI$1-REF(RSI$1,1);

    STICKLINE(k40 AND (k0 OR REF(k,1)0),15,20,2);

    STICKLINE(k x:((k0)*8;

    y:((k40)0 AND (k0 OR REF(k,1)0))*8;

    N0:=3;N1:=5;N2:=6;N3:=7;N4:=8;N5:=9;N6:=10;N7:=11;N8:=12;N9:=13;N10:=14;N11:=15;N12:=16;

    LC := REF(CLOSE,1);

    rsi$12:SMA(maX(CLOSE-LC,0),N12,1)/SMA(Abs(CLOSE-LC),N12,1)*100,COLORFFFF00;

    RSI$11:SMA(MAX(CLOSE-LC,0),N11,1)/SMA(ABS(CLOSE-LC),N11,1)*100,COLORFFCC00;

    RSI$10:SMA(MAX(CLOSE-LC,0),N10,1)/SMA(ABS(CLOSE-LC),N10,1)*100,COLORFF9900;

    RSI$9:SMA(MAX(CLOSE-LC,0),N9,1)/SMA(ABS(CLOSE-LC),N9,1)*100,COLORFF6600;

    RSI$8:SMA(MAX(CLOSE-LC,0),N8,1)/SMA(ABS(CLOSE-LC),N8,1)*100,COLORFF3300;

    RSI$7:SMA(MAX(CLOSE-LC,0),N7,1)/SMA(ABS(CLOSE-LC),N7,1)*100,COLORFF0000;

    RSI$6:SMA(MAX(CLOSE-LC,0),N6,1)/SMA(ABS(CLOSE-LC),N6,1)*100,COLOR00FFFF;

    RSI$5:SMA(MAX(CLOSE-LC,0),N5,1)/SMA(ABS(CLOSE-LC),N5,1)*100,COLOR00CCFF;

    RSI$4:SMA(MAX(CLOSE-LC,0),N4,1)/SMA(ABS(CLOSE-LC),N4,1)*100,COLOR0099FF;

    RSI$3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLOR0066FF;

    RSI$2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLOR0033FF;

    RSI$1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLOR0000FF;

    RSI$0:SMA(MAX(CLOSE-LC,0),N0,1)/SMA(ABS(CLOSE-LC),N0,1)*100,COLORFF33FF;

    a:20;

    d:80;


    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信rsi买卖指标公式源码 通达信最牛rsi指标公式源码 加入收藏