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

    正文概述    2024-05-04 04:14:19  
    通达信指标公式源码

    VAR1:=1/WINNER(CLOSE);

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

    VAR3:=100-ABS(VAR2);

    VAR4:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;

    VAR5:=SMA(VAR4,20,1);

    VAR6:=SMA(VAR5,15,1);

    AA: 100-3*VAR5+2*VAR6;

    IF(AA REF(AA,1),AA,AA-3),COLORRED;

    VAR7:=MA(WINNER(CLOSE*0.95)*100,3);

    VVV: IF(VAR1 5,IF(VAR1 100,VAR1,VAR3-10),0), LINESTICK,COLORCYAN;

    100, POINTDOT;

    VAR8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

    VAR9:=SMA(VAR8,5,1);

    VARA:=SMA(VAR9,5,1);

    IF(CROSS(VAR9,VARA) AND VAR9 20,90,0);

    IF(CROSS(VARA,VAR9) AND VAR9 80,-10,0);

    VARB:=HHV(HIGH,25);

    VARC:=LLV(LOW,25);

    CC: EMA((CLOSE-VARC)/(VARB-VARC)*100,5),COLORYELLOW;

    IF(CC 7,80,0);

    IF(CROSS(CC,VVV),80,0);

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

    VARE:=10*EMA(VARD,9);

    VARF:=2*(VARD-VARE);

    IF(VARF 0,6*VARF,0), COLORSTICK;


    image.png


    通达信上升趋势指标公式

    T1:=FINDLOWBARS(L,0,60,1);

    T2:=FINDLOWBARS(L,T1,120,1);

    DRAWLINE(CURRBARSCOUNT=CONST(T2)+1,L,CURRBARSCOUNT=CONST(T1)+1,L,1),C

    OLORGREEN,DOTLINE;

    T3:=BARSLAST(CURRBARSCOUNT=CONST(T1)+1);

    T4:=BARSLAST(CURRBARSCOUNT=CONST(T2)+1);

    D1:=REF(L,T3);

    D2:=REF(L,T4);

    T5:=FINDHIGHBARS(H,20,60,1);

    T6:=FINDHIGHBARS(H,T1,120,1);

    SG:DRAWLINE(CURRBARSCOUNT=CONST(T6)+1,H,CURRBARSCOUNT=CONST(T5)+1,H

    ,1),COLORRED,DOTLINE;

    T7:=BARSLAST(CURRBARSCOUNT=CONST(T5)+1);

    T8:=BARSLAST(CURRBARSCOUNT=CONST(T6)+1);

    G1:REF(H,T7),COLORRED;

    G2:REF(H,T8),COLORRED;

    IF(CURRBARSCOUNT=CONST(T1)+1,L,DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHI

    CK3;

    IF(CURRBARSCOUNT=CONST(T2)+1,L,DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHI

    CK3;

    IF(CURRBARSCOUNT=CONST(T5)+1,H,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK

    3;

    IF(CURRBARSCOUNT=CONST(T6)+1,H,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK

    3;

    XG:=((COUNT(C G1,T7)=1 AND C G1 OR CROSS(C,G1)) OR (COUNT(C SG,T7)=1 AND

    C SG OR CROSS(C,SG))) AND D1 D2 AND G1 G2 AND REF(C,T7)/REF(C,T4+1)

    DRAWICON(XG AND BARSCOUNT(C) 200,L,1);

    {}

    T1:=FINDLOWBARS(L,0,60,1);

    T2:=FINDLOWBARS(L,T1,250,1);

    T3:=BARSLAST(CURRBARSCOUNT=CONST(T1)+1);

    T4:=BARSLAST(CURRBARSCOUNT=CONST(T2)+1);

    D1:=REF(L,T3);

    D2:=REF(L,T4);

    T5:=FINDHIGHBARS(H,20,60,1);

    T6:=FINDHIGHBARS(H,T1,120,1);

    SG:=DRAWLINE(CURRBARSCOUNT=CONST(T6)+1,H,CURRBARSCOUNT=CONST(T5)+1,

    H,1);

    T7:=BARSLAST(CURRBARSCOUNT=CONST(T5)+1);

    T8:=BARSLAST(CURRBARSCOUNT=CONST(T6)+1);

    G1:=REF(H,T7);

    G2:=REF(H,T8);

    XG:=((COUNT(C G1,T7)=1 AND C G1 OR CROSS(C,G1)) OR (COUNT(C SG,T7)=1 AND

    C SG OR CROSS(C,SG))) AND D1 D2 AND G1 G2 AND REF(C,T7)/REF(C,T4+1)

    COUNT(XG AND BARSCOUNT(C) 200,5);

    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势指标公式源码 通达信上升趋势指标公式 加入收藏