最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信抓涨停板最强选股指标公式(通达信公式)

    正文概述    2024-05-04 04:27:53  


    通达信公式源码概况:


    指标类别:通达信公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图

    公式解读:


     

    MA1:=MA(CLOSE,20);MA2:=MA(CLOSE,40);MA3:=MA(CLOSE,60);{A1:=(OPEN MA1ANDOPEN MA2)OR(OPEN MA2ANDOPEN MA3)OR(OPEN MA1ANDOPEN MA3);}A1:=OPEN MA1OROPEN MA2OROPEN A2:=C MAX(MA1,MAX(MA2,MA3));A3:=V/MA(V,30) A4:=C/REF(C,1) 1.049;TJ:A1ANDA2ANDA3ANDA4; 

    A1:=VOL/REF(MA(VOL,5),1);A2:=O/REF(C,1) 1.06; 

    JD:=ATAN((MA(C,13)/REF(MA(C,13),1)-1)*100)*57.3; 

    XG:A1 2.5ANDA2ANDCROSS(JD,45); 

    MA5:MA(CLOSE,5),pointdot,color000000,linethick1; 

    MA21:=EMA(CLOSE,21); 

    MID:MA(CLOSE,21),color000000,linethick0; 

    风险线:MA(CLOSE,13),linethick3,COLORGREEN; 

    止损线:MA(CLOSE,27),linethick0,Coloree00ee; 

    UPPER:MID+2*STD(C,20),LINETHICK0,COLORFFFFFF; 

    LOWER:MID-2*STD(C,20),LINETHICK0,COLORFFFFFF; 

    H1:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75); 

    H2:=EMA(CLOSE,8); 

    Var1d:=H2-H1; 

    a:=(3*c+l+o+h)/6; 

    b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210; 

    d:=ma(b,10); 

    STICKLINE((MA21 REF(MA21,1)),MA21,MA21,5,6),LINETHICK2,Color00FFFF; 

    STICKLINE(C =MIDANDC =O,C,O,5,0),COLORRED; 

    STICKLINE(C =MIDANDC =O,H,L,0,0),COLORRED; 

    STICKLINE(C =MIDANDC O,C,O,5,1),COLORRED; 

    STICKLINE(C =MIDANDC O,O,H,0,0),COLORRED; 

    STICKLINE(C =MIDANDC O,C,L,0,0),COLORRED; 

    STICKLINE(C MIDANDC O,C,O,5,1),COLORffff00; 

    STICKLINE(C MIDANDC =O,C,O,5,1),COLORffff00; 

    STICKLINE(C MIDANDC =O,H,L,0,1),COLORffff00; 

    STICKLINE(C MIDANDC O,C,H,0,1),COLORffff00; 

    STICKLINE(C MIDANDC O,O,L,0,1),COLORffff00; 

    牛熊线:EMA(C,250),CIRCLEDOT,color999999; 

    界:MA(CLOSE,21),pointdot,color000000,linethick0; 

    VAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21)))); 

    VAR2:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21)))); 

    VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34)); 

    DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW*0.95),4),linethick3; 

    DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH*1.05),5),linethick3; 

    DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW*0.988), B ),coloryellow,linethick3; 

    DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH*1.02), S ),Coloree00ee,linethick2; 

    STICKLINE(C =界ANDC =O,C,O,5,0),COLORRED; 

    STICKLINE(C =界ANDC =O,H,L,0,0),COLORRED; 

    STICKLINE(C =界ANDC O,C,O,5,1),COLORRED; 

    STICKLINE(C =界ANDC O,O,H,0,0),COLORRED; 

    STICKLINE(C =界ANDC O,C,L,0,0),COLORRED; 

    STICKLINE(C 界ANDC O,C,O,5,1),COLORffff00; 

    STICKLINE(C 界ANDC =O,C,O,5,1),COLORffff00; 

    STICKLINE(C 界ANDC =O,H,L,0,1),COLORffff00; 

    STICKLINE(C 界ANDC O,C,H,0,1),COLORffff00; 

    STICKLINE(C 界ANDC O,O,L,0,1),COLORffff00; 

    DRAWTEXT(CROSS(MA5,界),(LOW*0.80), ◇底 ),COLORWHITE; 

    DRAWTEXT(CROSS(c,止损线)and止损线 风险线,(LOW*0.96), 主升浪 ),COLORRED,linethick3; 

    创业板:=INBLOCK( 创业板  

    中小企业:=INBLOCK( 中小企业  

    上证A股:=INBLOCK( 上证A股  

    深证A股:=INBLOCK( 深证A股  

    INDEH:=IF(中小企业=1, 399005$H ,IF(创业板=1, 399006$H ,IF(上证A股=1, 999999$H , 399001$H ))),NODRAW; 

    INDEO:=IF(中小企业=1, 399005$O ,IF(创业板=1, 399006$O ,IF(上证A股=1, 999999$O , 399001$O ))),NODRAW; 

    INDEL:=IF(中小企业=1, 399005$L ,IF(创业板=1, 399006$L ,IF(上证A股=1, 999999$L , 399001$L ))),NODRAW; 

    INDEC:=IF(中小企业=1, 399005$C ,IF(创业板=1, 399006$C ,IF(上证A股=1, 999999$C , 399001$C ))),NODRAW; 

    DRAWKLINE(INDEH,INDEO,INDEL,INDEC); 

    :=IF(中小企业=1, 中小企业指数 ,IF(创业板=1, 创业板指数 ,IF(上证A股=1, 上证指数 , 深证指数 ))); 

    DRAWTEXT_FIX(ISLASTBAR,0,0,0,板块),COLOR0055FF; 

    追涨停:(C-REF(C,1))/REF(C,1) =0.096AND(C-REF(C,1))/REF(C,1) 0.11;

    N:=40;N1:=6;N2:=13;N3:=33; 

    A00:=((SMA(ABS((LOW-REF(LOW,1))),3,1)/SMA(MAX((LOW-REF(LOW,1)),0),3,1))*100); 

    A01:=EMA(IF((CLOSE*1.3),(A00*10),(A00/10)),3); 

    A02:=LLV(LOW,30); 

    A03:=HHV(A01,30); 

    A04:=((EMA(IF((LOW =A02),((A01+(A03*2))/2),0),3)/6180)*2.5); 

    A05:=IF((A04 15),15,A04); 

    A07:STICKLINE((A05 0),0,A05,4,1),COLORWHITE; 

    A08:STICKLINE((A05 5),0,A05,4,1),COLORYELLOW; 

    A09:=(((MA(CLOSE,N)-CLOSE)/MA(CLOSE,N))*10); 

    A0A:STICKLINE(CROSS(1.7,A09),7.5,0,6,0),COLORYELLOW; 

    A0C:DRAWICON(CROSS(1.7,A09),8,7); 

    A0D:=DRAWTEXT(CROSS(1.7,A09),10,  

    :MA((MA(CLOSE,N3)-CLOSE)/MA(CLOSE,N3)*50,5),LINETHICK2,COLORLIRED; 

    :MA((MA(CLOSE,N2)-CLOSE)/MA(CLOSE,N2)*50,5),LINETHICK2,COLORMAGENTA; 

    :MA((MA(CLOSE,N1)-CLOSE)/MA(CLOSE,N1)*50,5),LINETHICK2,COLORRED; 

    平衡线:0,COLORWHITE,LINETHICK2; 

    STICKLINE((长线 0),0,长线,0,-1),COLORLIRED; 

    STICKLINE((长线 0),0,长线,0,-1),COLORCYAN; 

    STICKLINE((中线 0),0,中线,0,-1),COLORMAGENTA; 

    STICKLINE((中线 0),0,中线,0,-1),COLORLIGREEN; 

    STICKLINE((短线 0),0,短线,0,-1),COLORRED; 

    STICKLINE((短线 0),0,短线,0,-1),COLORGREEN;


    image.png

    公式解读:

    公式解读:




    每日通达信公式解答:


     

    编写要求: 

    前3日区间累计涨幅小于20%(不包括今日)的选股公式。 

    解答: 

    XG:(REF(C,1)/REF(C,4)-1)*100 20


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信抓涨停板最强选股指标公式(通达信公式) 加入收藏