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

    正文概述    2024-04-14 17:15:49  

    DF:=3;
    N1:=12;
    RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
    K:=SMA(RSV,DF,1);
    D:=SMA(K,DF,1);
    KK:=SMA(RSV,DF,1);
    DD:=SMA(K,DF,1);
    N:=KK+DD;
    关注区:STICKLINE(N<50,N,50,2,0),COLORRED;
    风险区:STICKLINE(N>160,N,160,2,0),COLORFFFF00;
    成本区:50,COLORYELLOW,LINETHICK2;
    GWGD:=N=160 AND REF(N,1)>=REF(N,2);
    获利区:160,COLORFFFF00,LINETHICK2;
    操盘线:N,COLORFF00FF,LINETHICK2;
    买入↑:DRAWICON(CROSS(N,50),50,1),COLORRED;
    卖出↓:DRAWICON(CROSS(160,N),160,2),COLORGREEN;
    AA:=(C+O+L+H)/4;
    BB:=REF(CLOSE,AA);
    获利盘:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100;
    DZ1:=获利盘>REF(获利盘,1) AND 获利盘>89;
    TYP:=(HIGH+LOW+CLOSE)/3;
    CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
    CCI1:=EMA(EMA(EMA(CCI,2),2),2);
    CCI2:=EMA(EMA(EMA(CCI,3),2),2);
    DZ2:=CCI1>100;
    T:=CLOSE*1.0+LOW*0.0+HIGH*0.0;
    SL:=(T/REF(T,1)-1)*1000;
    快:=XMA(XMA(XMA(SL,3),3),3);
    慢:=XMA(XMA(XMA(SL,5),5),5);
    X:=快-慢;
    增速1:=X;
    WWW:=REF(增速1,1)<0;
    DZ4:=增速1>3 AND WWW;
    选股:=DZ1 AND DZ2 AND DZ4;
    STICKLINE(选股,50,150,2,0),COLORYELLOW;
    DRAWTEXT(选股,120,'主升浪'),COLORRED;
    FF:=EMA(CLOSE,3);
    MA15:=EMA(CLOSE,21);
    TTJ:=CROSS(FF,MA15);
    上:=EMA(C,3),COLORBLUE,LINETHICK1;
    中:=EMA(C,5),COLORWHITE,LINETHICK1;
    下:=EMA(中,5),COLOR00FF00,LINETHICK1;
    QQ:= C<中;
    MM:=上>REF(上,1) AND REF(上,1) V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
    V2:=(1-7/100)*(DMA(CLOSE,V1));
    V3:=(1+7/100)*(DMA(CLOSE,V1));
    V5:=MA((LOW+HIGH+CLOSE)/3,5);
    MA1:=MEMA(CLOSE,5);
    MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
    MA3:=IF(MA2>0,MA2,MA2);
    MA115:=MA(CLOSE,5),COLOR888899;
    MA113:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;
    VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
    OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
    REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
    C>=REF(C,1) AND C>=REF(C,2);
    {收盘价=4日内收盘价的最高值 AND 昨收>=2日前的收盘价}
    VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
    {收盘价=4日内收盘价的最高值 AND 昨收=4日内收盘价的最低值}
    VAR03:=CLOSE=LLV(C,4) AND (REF(C,1) REF(C,1)=LLV(C,4) AND C REF(C,1)=HHV(C,4) AND C C {收盘价=4日内收盘价的最低值 AND (昨收<2日前的收盘价}
    VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
    REF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1);
    {昨收=4日内收盘价的最低值 AND 收盘价>=2日前的收盘价}
    VAR05:=REF(C,1)=HHV(C,4) AND C REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
    REF(C,2)>=REF(C,4) AND C {昨收=4日内收盘价的最高值 AND 收盘价<2日前的收盘价}
    VAR06:=V5>REF(V5,1) AND REF(V5,1) {今日V5向上形成拐点}
    VAR07:=LOWHHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
    VAR08:=VAR07 AND COUNT(VAR06,2);
    VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
    VAR10:=EMA(MA(C,13),13);
    VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND
    CROSS(VAR09,MA(VAR09,2)))=1,5);
    VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND
    CROSS(MA(VAR09,2),VAR09))=1,1);
    VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
    VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
    VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
    VAR16:=VAR08 AND NOT(REF(VAR08,1));
    RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K1:=SMA(RSV,3,1);
    D1:=SMA(K1,3,1);
    J1:=3*K1-2*D1;
    金叉:=CROSS(J1,D1);
    死叉:=CROSS(D1,J1);
    买1:=(VAR14 OR VAR15) AND VAR11;
    买2:=(VAR14 OR VAR15) AND VAR04;
    买3:=(VAR14 OR VAR15) AND VAR02;
    买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);
    买5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);
    TTJ0:=VAR16;
    TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;
    XG0:=TTJ AND TTJ0;
    XG1:=TTJ AND TTJ1;
    XG11:=XG0 OR XG1;

    PL5:=ZIG(3,5);
    EN1:=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);
    EX1:=ZIG(3,5)=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
    PL10:=ZIG(3,10);
    EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
    EX2:=ZIG(3,10)=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
    PL20:=ZIG(3,20);
    EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
    EX3:=ZIG(3,20)=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
    PL40:=ZIG(3,40);
    走强1:=BARSLAST(PL5 走弱1:=BARSLAST(PL5>REF(PL5,1));
    走强2:=BARSLAST(PL10 走弱2:=BARSLAST(PL10>REF(PL10,1));
    走强3:=BARSLAST(PL20 走弱3:=BARSLAST(PL20>REF(PL20,1));
    ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
    ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
    DTJZ5:=IF(PL10 DTJD5:=IF(PL10 ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
    ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
    DTJZ10:=IF(PL20 DTJD10:=IF(PL20 TJ11:=EN2 AND ZTJZ5=1;
    TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;
    TJ33:=EN2 AND DTJZ10=1;
    TJ44:=EN3 AND ZTJZ10=1;
    TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;
    XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;

    XG:=XG22;
    选股2:EXIST(XG,1);
    STICKLINE(选股2,50,100,2,0),COLORGREEN;
    DRAWTEXT(选股2,100,'参考'),COLORCYAN;


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