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

    正文概述    2024-04-13 07:09:50  

    通达信自己组合的波段指标公式

    VAR3A:=LLV(HIGH,240);
    VAR4A:=100*(CLOSE-VAR3A)/VAR3A;
    VAR5A:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
    VAR6A:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
    VAR7A:=0;
    VAR8A:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
    VAR9A:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
    VAR10A:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,4,0);
    VAR11A:=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);
    VAR12A:=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);
    VAR13A:=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);
    VAR14A:=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);
    VAR15A:=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);
    VAR16A:=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);
    VAR17A:=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);
    VAR18A:=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);
    VAR19A:=EMA(CLOSE,2)-EMA(CLOSE,150);
    买1:=VAR10A;
    买2:=(VAR11A+VAR13A+VAR15A+VAR17A);
    卖1:=(VAR12A+VAR14A+VAR16A+VAR18A);
    B:IF(买1 0 OR 买2 0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
    DRAWTEXT(买1 0 OR 买2 0,LOW*0.99,'买'),COLORRED;
    S1:IF(卖1 0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
    DRAWTEXT(卖1 0,HIGH*1.02,'卖'),COLORGREEN;
    DRAWICON((ZIG(3,5) REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1) =REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2) =REF(ZIG(3,5),3)),LOW*0.98,1) ;
    DRAWICON((ZIG(3,5) REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1) =REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2) =REF(ZIG(3,5),3)),HIGH*1.01,2);
    ZB:=EMA(EMA(VAR3A,5),5)*3, COLORSTICK;
    VARA:=IF(VAR9A AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
    K:=EMA(VAR7A,5)*2, , COLORFF00FF;
    D:=EMA(K,5), , COLORWHITE;
    J:=K*3-D*2, ,COLORYELLOW;
    VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J
    HS:=VOL/CAPITAL*100, , COLORGREEN;
    VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
    VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    DRAWTEXT(VAR11A AND COUNT(VAR11A,30)=1,LOW*0.95,'机构进场'),LINETHICK1,COLORFF00FF;
    VAR1A:=IF(VARE 0,VARE,0);
    VAR1B:=IF(VAR14A =200 AND VAR13A =150,15,IF(VAR14A =-200 AND VAR13A =-150,-15,VAR16A))+60;
    VAR1C:=VAR1A 48 AND VAR1B 60 AND VAR19A
    DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*0.95,'大顶(底)') COLORWHITE;

    VAR20A:=PEAKBARS(3,15,1)
    VAR21A:=IF(VAR20A=1,2,0);
    VAR22A:=IF(VAR21A=2,2,0);
    VAR23A:=IF(VAR22A REF(VAR22A,1),35,0)LINETHICK2;
    DRAWTEXT(VAR23A=35,HIGH*1.00,'一定要逃')COLORGREEN;
    DRAWICON(VAR23A=35,HIGH*1.00,2);

    N1:=8;
    M9:=REF(CLOSE,1);
    A:=SMA(MAX(CLOSE-M9,0),N1,1)/SMA(ABS(CLOSE-M9),N1,1)*100,COLORYELLOW,LINETHICK1;
    B0:=A=DRAWLINE(A =HHV(A,N1),A,A =LLV(A,N1),1,A),COLOR00FF00;
    B1:=A=DRAWLINE(A =HHV(A,N1),A,A =LLV(A,N1),A,1),COLOR00FF00;
    B2:= A REF(A,1);
    B3:=A REF(1,A);
    C1:=DRAWICON(B1 AND B2,A,9);
    C2:=DRAWICON(B0 AND B3,A,15);
    DRAWICON(FILTER(C2 0,1),H*1.02,15);

    VAR11K:=(ZIG(3,10) REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) REF(ZIG(3,10),2));
    VAR22K:=(ZIG(3,10) REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) REF(ZIG(3,10),2));
    STICKLINE(VAR11K,C,O,8,0),COLORYELLOW,LINETHICK2;
    STICKLINE(VAR11K,C,O,3,0),COLORYELLOW,LINETHICK2;
    STICKLINE(VAR11K,H,L,1,0),COLORYELLOW,LINETHICK2;
    STICKLINE(VAR22K,C,O,8,0),COLORFF00FF,LINETHICK2;
    STICKLINE(VAR22K,C,O,3,0),COLORFF00FF,LINETHICK2;
    STICKLINE(VAR22K,H,L,1,0),COLORFF00FF,LINETHICK2;

    AAA2:=SUM(IF( CLOSE REF(CLOSE,1),VOL*C,0),0);
    AAA3:=SUM(IF( CLOSE REF(CLOSE,1),VOL*C,0),0);
    AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
    BB1:=0;
    B1万元:=DVOL*DCLOSE/100;
    B1差:=B1万元-REF(B1万元,1);
    B2万元:=DVOL*DCLOSE/100;
    B2比:=B2万元/REF(B2万元,1);
    净流入万元:=(AAA2-AAA3-0.5*AAA4);
    PM:=MA(净流入万元,1);
    PMA:=PM/REF(PM,1)
    PMB:=REF(PMA,1) 1 AND PMA;
    密码:=(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;
    二日比:=密码/REF(密码,1);
    选股:=PMB AND 密码 REF(密码,1) AND 二日比 1 ,COLORRED,NODRAW;
    均价线:=AMOUNT/V/100;
    均价线2:=MA(均价线,3);
    均价线5:=MA(均价线,5);
    均价线10:=MA(均价线,10);
    均价线30:=MA(均价线,30);
    突破:=C 均价线2 AND 均价线2 REF(均价线2,1) AND REF(均价线2,1) REF(均价线2,2)
    AND REF(均价线2,2) REF(均价线2,3) AND 选股;
    STICKLINE(突破,H,L,5,0),LINETHICK1,COLORRED;
    STICKLINE(突破,H,L,0.2,0),COLORYELLOW;
    STICKLINE(突破,O,C,2,0),LINETHICK1,COLORYELLOW;

    TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
    STICKLINE(CROSS(MA(C,2),MA(C,7)),H,C,0.05,0),COLOR0000FF;
    STICKLINE(CROSS(MA(C,2),MA(C,7)),C,O,3,0),COLORFF0099 ;
    STICKLINE(CROSS(MA(C,2),MA(C,7)),O,L,0.05,0), COLOR0099FF;
    XG1:=CROSS(MA(C,7),MA(C,2));
    STICKLINE(XG1,H,L,3.5,0),LINETHICK1,COLORWHITE;
    STICKLINE(XG1,H,L,0.2,0),COLORGREEN;
    STICKLINE(XG1,O,C,3,0),LINETHICK1,COLORGREEN;
    STICKLINE((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLORFF00FF;
    STICKLINE((REF(C,1)-C)*100/REF(C,1) =(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLORWHITE;
    STICKLINE(REF(COUNT(C TYX3,5)=5,1) AND C TYX3 AND C O,C,O,3.5,0),COLOR00CCFF;
    P:=8;
    KE:=V*(H-L)/REF(C,1);
    KEP:=KE=HHV(KE,P);
    KUD:=BARSLAST(KEP);

    TY:=C;
    A1:=REF(TY,10)=HHV(TY,2*10+1); BB11:=FILTER(A1,10);
    CC1:=BACKSET(BB11,10+1); HD:=FILTER(CC1,10);
    A2:=REF(TY,10)=LLV(TY,2*10+1); BB2:=FILTER(A2,10); CC2:=BACKSET(BB2,10+1); LD:=FILTER(CC2,10);
    AA:=REF(C,BARSLAST(HD)); BB:=REF(C,BARSLAST(LD));
    T1:=BARSLAST(HD) BARSLAST(LD) AND NOT(HD) ;
    T2:=BARSLAST(HD) BARSLAST(LD) AND NOT(LD);
    波峰:IF(T1,AA,AA),COLOR0000FF,CIRCLEDOT,LINETHICK1;
    STICKLINE(T1,AA,AA,9,0),COLOR0000FF,CIRCLEDOT,LINETHICK1;
    波谷:IF(T2,BB,BB),COLOR008000,CIRCLEDOT,LINETHICK1;
    STICKLINE(T2,BB,BB,9,0),COLOR008000,CIRCLEDOT,LINETHICK1;

    换手:=V*100/CAPITAL;
    主力:=MA(换手,4);
    大户:=MA(换手,9);
    中户:=MA(换手,17);
    散户:=MA(换手,34);
    均量:=(主力+大户+中户+散户)/4;
    成交量:=VOL;
    均量5:=MA(成交量,5)/50000,COLORMAGENTA,LINETHICK1;
    均量20:=MA(成交量,20)/50000,COLOR00FFFF,LINETHICK1;
    均量120:=MA(成交量,120)/50000,COLOR00CC20,LINETHICK1;
    Z1:=CROSS(均量5,均量20) AND CROSS(均量20,均量120) ;
    DRAWTEXT(FILTER(Z1=1,5),LOW-0.05,'↖主力进场'),COLORRED;

    AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
    CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
    BBB:=AAA+2.1*CCC;
    DDD:=AAA+0.72*CCC;
    ZZZ:=IF(CCC 1.88,MA(DDD,3),DDD);
    平衡:ZZZ;
    止赢:ZZZ*1.1;
    了结:ZZZ*1.05;
    回档:ZZZ*0.95;
    反弹:ZZZ*0.9;
    DRAWTEXT(L =反弹 AND C O AND C 反弹,L*0.98,'买'),COLORYELLOW;
    DRAWTEXT(L =止赢 AND H =止赢 AND C O AND (REF(C,1)-C)/C 0.02,H*1.02,'卖'),COLORGREEN;
    STICKLINE(L =反弹 AND C O AND C 反弹,O,C,2,0),COLORYELLOW;
    STICKLINE(L =止赢 AND H =止赢 AND C O AND (REF(C,1)-C)/C 0.02,O,C,2,0),COLORGREEN;

    STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,50,0),COLORWHITE;

    通达信自己组合的波段指标公式

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信自己组合的波段指标公式 加入收藏