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

    正文概述    2024-04-14 17:22:51  

    {一号线:EMA(CLOSE,144);
    工作线:EMA(CLOSE,14),COLORCYAN;
    二号线:EMA(CLOSE,25);
    三号线:EMA(CLOSE,318);
    生命线:EMA(CLOSE,453),COLORRED,LINETHICK2;
    五号线:EMA(CLOSE,550);
    六号线:EMA(CLOSE,610);
    七号线:EMA(CLOSE,730);
    八号线:EMA(CLOSE,888);
    九号线:EMA(CLOSE,99),COLORGREEN;}
    TY:=CLOSE;
    HD:=FILTER(BacKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
    LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
    A:=REF(CLOSE,BArslAST(HD));
    B:=REF(CLOSE,BARSLAST(LD));
    T1:=BARSLAST(HD) T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
    波浪顶:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;
    STICKLINE(T1,A,A,9,0),COLORFF00FF;
    波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK2;
    VAR3:=LLV(HIGH,240);
    VAR4:=100*(CLOSE-VAR3)/VAR3;
    VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
    VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
    VAR7:=0;
    VAR8:=MA(HHV(CLOSE-REF(CLOSE,1),0),34)/MA(Abs(CLOSE-REF(CLOSE,1)),7)*100;
    VAR9:=MA(HHV(CLOSE-REF(CLOSE,1),0),13)/MA(ABS(CLOSE-REF(CLOSE,1)),13)*100;
    VARA:=BARSCOUNT(CLOSE);
    VARB:=VAR8<20 AND VAR9<23 AND VARA>35;
    VARC:=VARB AND COUNT(VARB,1)=1;
    VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
    VARE:=EMA(VARD,5);
    VARF:=TROUGH(3,6,1)<4 AND crOSS(VARD,VARE);
    VAR10:=IF(TROUGH(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
    VAR11:=zig(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
    VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
    VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
    VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
    VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
    VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
    VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
    VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
    VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR1A:=EMA(VAR19,100);
    VAR1B:=2*(VAR19-VAR1A);
    VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
    VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VAR1E:=EMA(VAR1D*0.97,3);
    VAR1F:=(HIGH+LOW+CLOSE)/3;
    VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
    VAR21:=CROSS(VAR1E,LOW);
    买点1:=VAR10;
    买点2:=(VAR11+VAR13+VAR15+VAR17);
    卖点1:=(VAR12+VAR14+VAR16+VAR18),LINETHICK2;
    VAR22:=买点1 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5=0 AND VAR6=0 AND VAR20<(-110);
    VAR1:=MA(CLOSE,5);
    VAR2:=MA(CLOSE,10);
    VAR31:=MA(CLOSE,30);
    VARB1:=SUM(CLOSE*vol*100,28)/SUM(VOL*100,28);
    VARC1:=INTPART(VARB1*100)/100;
    VARD1:=EMA(CLOSE,5)-EMA(CLOSE,10);
    VARE1:=EMA(VARD1,9);
    VAR131:=REF(VARE1,1);
    VAR141:=VARE1;
    VAR151:=VAR141-VAR131;
    VAR161:=REF(VARD1,1);
    VAR171:=VARD1;
    VAR181:=VAR171-VAR161;
    VAR191:=OPEN;
    VAR1A1:=CLOSE;
    DRAWTEXT(买点1>0,LOW-0.01,'▲买'),COLORRED;
    DRAWTEXT(买点2>0,LOW-0.01,'▲买'),COLORFF00FF;
    DRAWTEXT(卖点1>0,HIGH+0.1,'▼卖'), COLOR33FF33;
    JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
    DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
    JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
    cyc5:IF(JJJT,0.01*EMA(AMOUNT,5)/EMA(VOL,5),EMA((HIGH+LOW+CLOSE)/3,5));
    CYC∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
    MA1:=MA(CLOSE,5);
    MA2:=MA(CLOSE,10);
    MA3:=MA(CLOSE,20);
    MA4:=MA(CLOSE,30);
    MA5:=MA(CLOSE,60);
    MA6:=MA(CLOSE,120);
    MA7:=MA(CLOSE,250);
    买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    BU:=CROSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLORRED;
    STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
    STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORFFF000;
    STICKLINE(买线<卖线,LOW,HIGH,0.1,0),COLORFFF000;
    Z1:=REF(HIGH,4)=HHV(HIGH,2*4+1);
    Y1:=FILTER(Z1,3);
    C1:=BACKSET(Y1,3+1);
    D1:=FILTER(C1,3);
    A2:=REF(LOW,3)=LLV(LOW,2*3+1);
    V2:=FILTER(A2,3);
    C2:=BACKSET(V2,3+1);
    D2:=FILTER(C2,3);
    E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
    E2:=(HIGH+LOW)/2;
    H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;
    H2:=D1 AND NOT(D2 AND E1>=E2);
    L1:=D2 AND NOT(D1 AND E1=E2);
    X1:=REF(BARSLAST(H1),1)+1;
    F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
    G1:=F1>REF(F1,1);
    I1:=BACKSET(G1,2);
    DD:=I1>REF(I1,1);
    L2:=DD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;
    X2:=REF(BARSLAST(L2),1)+1;
    F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
    G2:=F2>REF(F2,1);
    I2:=BACKSET(G2,2);
    HH:=I2>REF(I2,1);
    UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HH)+1);
    VV2:=UU2>REF(UU2,1);
    WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
    XX2:=WW2>REF(WW2,1);
    突破线:=REF(H,BARSLAST(VV2));
    持仓线:=REF(H,BARSLAST(XX2));
    TP1:=CROSS(C,突破线);
    TP2:=CROSS(C,持仓线);
    STICKLINE(TP1,H,L,0,0),COLORYELLOW;
    STICKLINE(TP1,C,O,3,0),COLORYELLOW;
    STICKLINE(TP1,C,O,3,0),COLORYELLOW;
    STICKLINE(TP1,C,O,1,0),COLORYELLOW;
    DRAWTEXT(TP1,LOW*0.98,'突破'),LINETHICK1,COLORYELLOW;
    STICKLINE(TP2,H,L,0,0),COLORYELLOW;
    STICKLINE(TP2,C,O,3,0),COLORYELLOW;
    STICKLINE(TP2,C,O,3,0),COLORYELLOW;
    STICKLINE(TP2,C,O,1,0),COLORYELLOW;
    DRAWTEXT(TP2,LOW*0.98,'突破'),LINETHICK1,COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信上涨突破点主图指标公式 加入收藏