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

    正文概述    2024-04-13 15:18:14  

    F1:=zig(3,16);
    STICKLINE(F1 XX1:=EMA(SLOPE(1,1)+C,3),COLORRED;
    YY1:=EMA(SLOPE(1,1)+C,7),COLORBLUE;
    DRAWTEXT(COUNT (XX1=YY1,C*0.95,'B'), COLORRED;
    折线:ZIG(3,20);
    前波峰值:=PEAK(3,20,1);
    前波谷值:=TROUGH(3,20,1);
    DRAWNUMBER(折线>REF(折线,1) AND REF(折线,1) DRAWNUMBER(折线REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);
    mms:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(Abs((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
    G1:=IF(-MMS>95,0,20);
    UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);
    KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
    KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
    趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);
    AA:=-100*(趋势线-CLOSE)/趋势线;
    ac:=(EMA(AA,5) );
    ssl:=EMA(CLOSE,3);
    MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
    MM:=MA(MMV,1);
    STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;
    买线:=ZIG(3,10);
    卖线:=MA(买线,2);
    BU:=crOSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    DRAWTEXT(BU,L*0.99,''),LINETHICK2,COLOR00FFFF;
    DRAWTEXT(SEL,H*1.0,''),LINETHICK1,COLOR00FF00;
    {DRAWTEXT("X09A.T">0,L*0.99,'B'),LINETHICK1,COLORFFFFFF;
    DRAWTEXT("X09A.T1">0,L*0.99,'B'),LINETHICK1,COLOR0000FF;
    STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLOR0000CC};
    STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;
    STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;
    STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCCCC00;
    STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00AAFF;
    STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00DD00;
    DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*1.07,7);
    DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*1.04,'');
    DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.04,8);
    DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.01,'');
    VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
    VAR2:=HIGH-REF(HIGH,1);
    VAR3:=REF(LOW,1)-LOW;
    VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
    VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
    VAR6:=VAR4*100/VAR1;
    VAR7:=VAR5*100/VAR1;
    VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
    VAR9:=(VAR8+REF(VAR8,15))/2;
    A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
    B:=ZIG(3,51/5)*100,COLORWHITE;
    G:=MA(B,2),COLORYELLOW;
    D:=CROSS(B,G)*1000,COLORRED;
    W:=CROSS(G,B)*1000,COLORBLUE;
    A30:=MA(C,30);
    ANGLEA30:=ATAN((A30/REF(A30,1)-1)*100)*57.3;
    ANGLE30:=ANGLEA30>40 OR ANGLEA30<-48;
    A10:=MA(C,10);
    ANGLEA10:=ATAN((A10/REF(A10,1)-1)*100)*57.3;
    ANGLE10:=ANGLEA10>20 OR ANGLEA10<-25 AND CLOSE>MA(CLOSE,20) ;
    A3010:=ANGLE30 OR ANGLE10;
    AAZT:=COUNT(CLOSE>REF(CLOSE,1)*1.097 ,20)>0;
    DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*0.9,'★旺财') ,LINETHICK2,COLORRED;
    MA5:MA(CLOSE,5),LINETHICK1,COLORWHITE;
    A0:=(3*C+L+O+H)/6;
    X:=(20*A0+19*REF(A0,1)+18*REF(A0,2)+17*REF(A0,3)+16*REF(A0,4)+15*REF(A0,5)+14*REF(A0,6)+13*REF(A0,7)+12*REF(A0,8)+11*REF(A0,9)+10*REF(A0,10)+9*REF(A0,11)+8*REF(A0,12)+7*REF(A0,13)+6*REF(A0,14)+5*REF(A0,15)+4*REF(A0,16)+3*REF(A0,17)+2*REF(A0,18)+REF(A0,20))/210;
    主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
    FF:=EMA(CLOSE,3);
    MA15:=EMA(CLOSE,21);
    DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←拐点买'),COLOR00FFFF;
    STICKLINE(W=1000,CONST(HHV(H,0)),CONST(LLV(L,0)),2,0),COLORCYAN;
    STICKLINE(D=1000,CONST(HHV(H,0)),CONST(LLV(L,0)),2,0),COLOR0099FF;
    STICKLINE(W=1000 AND AAZT,CONST(HHV(H,0)),CONST(LLV(L,0)),2,0),COLORGREEN;
    STICKLINE(D=1000 AND AAZT,CONST(HHV(H,0)),CONST(LLV(L,0)),2,0),COLORRED;


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