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

    正文概述    2024-05-04 04:24:37  

    公式解读:

    一、通达信预测指标公式


     

    S1:=FINANCE(7) 3500000000;S2:=DYNAINFO(4) 0;S3:=IF(NAMELIKE( #39;S #39;),0,1);S4:=IF(NAMELIKE( #39;* #39;),0,1);S5:=S1ANDS2ANDS3ANDS4;ZT:=CLOSE/REF(CLOSE,1) 1.095ANDCLOSE=HIGH;五日强:=((CLOSE-LLV(CLOSE,5))/LLV(CLOSE,5)*100) 9;XG5:(EXIST(ZT,5)=1OREXIST(五日强,5)=1)ANDS5; 

    M1:=5;M2:=10;M3:=20; 

    VOL1:VOL,VOLSTICK; 

    MA1:MA(VOL,M1); 

    MA2:MA(VOL,M2); 

    MA3:MA(VOL,M3); 

    ⑤%:CAPITAL*5/100,COLORFFFFFF,NODRAW; 

    STICKLINE(C 0,⑤%,⑤%,5,-1),COLORFFFFFF; 

    交易分钟数:=IF(TIMETOSEC(TIME) 93000ANDTIMETOSEC(TIME) 150000, 

    IF(TIMETOSEC(TIME) 113000,(SECTOTIME(TIME)-34200)/60, 

    IF(TIMETOSEC(TIME) 130000,(SECTOTIME(TIME)-39600)/60,120)),240); 

    预测量:IF(ISLASTBAR,VOL/交易分钟数*240,VOL),COLOR00FFFF,NODRAW; 

    {预测量2:IF(ISLASTBAR,VOL*240/FROMOPEN,VOL),COLOR00FF00,NODRAW;} 

    STICKLINE(ISLASTBAR,0,预测量,3,-1),COLOR00FFFF; 

    STICKLINE(ISLASTBAR,0,VOL,3,0),VOLSTICK; 

    JJ:=(C*3+H+L+O)/6; 

    SK:=EMA(JJ,13)-EMA(JJ,21); 

    SD:=EMA(SK,3); 

    SP:=EMA(SK,10); 

    A1:=EMA(C,7)-EMA(C,21); 

    B1:=EMA((0.668*REF(A1,1)+0.333*A1),1); 

    B1,COLORSTICK; 

    X1:=V/SUM(V,13); 

    X2:=DMA(C,X1); 

    X3:=(C-X2)/X2*40; 

    L2:=MA(AMOUNT/(100*V),13); 

    CYS13:=(C-L2)/L2*100; 

    做多:IF(A1 =B1,A1,B1),COLORRED; 

    做空:IF(B1-A1,B1,A1),COLORGREEN; 

    涨:IF(SD =SP,SD,SP),; 

    降:IF(SP-SD,SP,SD),COLORFF5B00; 

    强庄:STICKLINE(CYS13 5,0,-做空,2,0),COLOR006AC8; 

    强度:STICKLINE(X3 0AND做多 0,做多+0.1,做多,1,0),COLOR009FFC; 

    强底:MA(CLOSE,63),LINETHICK1,COLORGREEN; 

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

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

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

    助力:IF(CROSS(VAR2000,MA(VAR3000,5)),LOW*0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; 

    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 

    抢买线:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210; 

    安全线:MA(抢买线,6),LINETHICK2,COLORWHITE; 

    A5:=EMA(CLOSE,12)-EMA(CLOSE,26); 

    A6:=EMA(A5,9); 

    A7:=(A5 -0.1ANDA5 A6); 

    近底:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT; 

    现价:C; 

    买线:=EMA(CLOSE,2),COLOR0000FF; 

    卖线:=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),POINTDOT,COLOR00FF00; 

    {ZIG未来判断当天收市是否强势,次日收盘前指标黄线消失的话,短期上涨已坏撤退} 

    黄线消失清:IF(ZIG(MA((H+L)/2,3),3) REF(ZIG(MA((H+L)/2,3),3),1),ZIG(MA((H+L)/2,3),3),DRAWNULL),COLORYELLOW,LINETHICK3; 

    DRAWTEXT(FILTER(H 黄线消失清*1.1=1,5),H*1.05, ☆黄线上卖 ),COLORYELLOW; 

    DRAWTEXT(FILTER(L 黄线消失清*0.9=1,5),L*0.95, ☆黄线下买 ),COLORYELLOW; 

    VART100:=AMOUNT/VOL/100; 

    VART200:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; 

    VART300:=SUM(AMOUNT,5)/VART100/100; 

    持仓线:DMA(VART200,VOL/VART300),COLORFF00FF,LINETHICK2; 

    减仓线:IF(持仓线 REF(持仓线,1),持仓线,DRAWNULL),COLORBLUE,LINETHICK2; 

    {PEAKBARS未来判断明日顶部,收市前指标不消失请} 

    VAR3A:=PEAKBARS(3,15,1) 10; 

    VAR5A:=IF(VAR3A=1,2,0); 

    顶:=IF(VAR5A=2,2,0); 

    顶A:=IF(顶 REF(顶,1),50,0); 

    DRAWTEXT(顶A=50,LOW*0.95, 明日速逃 ),COLOR00FF00; 

    BBUY:=CROSS(买线,卖线); 

    SEL:=CROSS(卖线,买线); 

    STICKLINE((买线 =卖线),LOW,HIGH,0.4,0),COLOR0000FF; 

    STICKLINE((买线 =卖线),CLOSE,OPEN,3,1),COLOR000077; 

    STICKLINE((买线 =卖线),CLOSE,OPEN,2.6,1),COLOR000099; 

    STICKLINE((买线 =卖线),CLOSE,OPEN,2,1),COLOR0000BB; 

    STICKLINE((买线 =卖线),CLOSE,OPEN,1.3,1),COLOR0000DD; 

    STICKLINE((买线 =卖线),CLOSE,OPEN,0.4,1),COLOR0000FF; 

    STICKLINE((买线 卖线),LOW,HIGH,0.4,0),COLORFFFF00; 

    STICKLINE((买线 卖线),CLOSE,OPEN,3,1),COLOR777700; 

    STICKLINE((买线 卖线),CLOSE,OPEN,2.6,1),COLOR999900; 

    STICKLINE((买线 卖线),CLOSE,OPEN,2,1),COLORBBBB00; 

    STICKLINE((买线 卖线),CLOSE,OPEN,1.3,1),COLORDDDD00; 

    STICKLINE((买线 卖线),CLOSE,OPEN,0.4,1),COLORFFFF00; 

    STICKLINE((CROSS(买线,卖线)ORCROSS(卖线,买线)),OPEN,CLOSE,5,0),COLOR0055FF; 

    STICKLINE((CROSS(买线,卖线)ORCROSS(卖线,买线)),OPEN,CLOSE,4.2,0),COLOR0077FF; 

    STICKLINE((CROSS(买线,卖线)ORCROSS(卖线,买线)),OPEN,CLOSE,3,0),COLOR0099FF; 

    STICKLINE((CROSS(买线,卖线)ORCROSS(卖线,买线)),OPEN,CLOSE,2.2,0),COLOR00BBFF; 

    STICKLINE((CROSS(买线,卖线)ORCROSS(卖线,买线)),OPEN,CLOSE,1.5,0),COLOR00DDFF; 

    STICKLINE((CROSS(买线,卖线)ORCROSS(卖线,买线)),OPEN,CLOSE,0.4,0),COLOR00FFFF; 

    DRAWICON(BBUY,(LOW*0.99),5); 

    DRAWICON(SEL,(HIGH*1.01),6); 

    CM1:=EMA(CLOSE,3); 

    CM2:=EMA(CLOSE,8); 

    CM3:=EMA(CM2,13); 

    CM4:=EMA(CM2,55); 

    CVAR1:=EMA(CM3,55); 

    牛熊:EMA(CM4,81),COLORRED; 

    CVAR2:=(REF(HIGH,1)+REF(LOW,1))/2; 

    CVAR3:=MA(CLOSE,21)+2*STD(CLOSE,21); 

    DRAWICON(CROSS(CVAR2,CVAR3),HIGH*1.035,2); 

    DRAWTEXT(CROSS(CVAR2,CVAR3),HIGH*1.02, 卖出 ),COLORGREEN; 

    CVAR4:=REF(CLOSE,1); 

    CVAR5:=SMA(MAX(CLOSE-CVAR4,0),7,1)/SMA(ABS(CLOSE-CVAR4),7,1)*100; 

    CVAR6:=CROSS(79,CVAR5); 

    CVAR7:=FILTER(CVAR6,4); 

    DRAWICON(CVAR7,HIGH*1.035,2); 

    DRAWTEXT(CVAR7,HIGH*1.02, 卖出 ),COLORGREEN; 

    CA7:=(2*C+H+L)/4; 

    CVAR10:=LLV(LOW,34); 

    CVAR11:=HHV(HIGH,34); 

    CSK:=EMA((CA7-CVAR1)/(CVAR2-CVAR1)*100,7); 

    CSD:=EMA(0.667*REF(CSK,1)+0.333*CSK,5); 

    DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),8)/8 6/10ANDVOL =1.5*MA(VOL,5)AND 

    COUNT(CSK =CSD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW, ●买进 ),COLORRED; 

    DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),13)/13 6/10AND 

    COUNT(CSK CSD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE =OPEN,4)AND 

    REF(CLOSE OPEN,3)ANDREF(CLOSE OPEN,2)ANDREF(OPEN CLOSE,1)AND 

    OPEN REF(CLOSE,1),1,0),LOW, ●买进 ),COLORRED; 

    CCD:=MA(CLOSE,80)-MA(CLOSE,10)/3; 

    DRAWTEXT(IF(CLOSE CCDANDVOL/240 MA(VOL,5)/240ANDCLOSE REF(CLOSE,1)*1.08 

    ANDCLOSE MA(CLOSE,13)*1.3,1,0),LOW, ●极品底 ),COLORRED; 

    VAR2J:=(2*CLOSE+HIGH+LOW)/4; 

    VAR4J:=LLV(LOW,5); 

    VAR5J:=HHV(HIGH,4); 

    :=EMA((VAR2J-VAR4J)/(VAR5J-VAR4J)*100,4); 

    :=EMA(0.667*REF(散户,1)+0.333*散户,2); 

    DRAWTEXT(CROSS(散户,庄家)AND散户 30,L-0.18, ←低吸 ),COLORYELLOW; 

    DRAWTEXT(CROSS(庄家,散户)AND散户 70,H+0.18, ←高抛 ),COLORGREEN; 

    VAR1T:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; 

    VAR2T:=SMA(VAR1T,3,1); 

    VAR3T:=SMA(VAR2T,3,1); 

    VAR4T:=SMA(VAR3T,3,1); 

    VAR6T:=CROSS(VAR3T,VAR4T)ANDVAR3T 20;   

    DRAWTEXT(FILTER(VAR6T,10)=1,LOW*0.96, ● ),COLORYELLOW; 

    VAR7T:=CROSS(VAR4T,VAR3T)ANDVAR3T 80; 

    DRAWTEXT(FILTER(VAR7T,5)=1,HIGH*1.08, ●逃顶 ),COLORGREEN; 

    A:=(3*C+L+O+H)/6; 

    N:=4; 

    WX:=MA(CLOSE,0); 

    M1:=MA(CLOSE,5); 

    M2:=(MA(CLOSE,10)*IF((N 2),WX,1)); 

    M3:=(MA(CLOSE,20)*IF((N 3),WX,1)); 

    M4:=(MA(CLOSE,30)*IF((N 4),WX,1)); 

    M5:=(MA(CLOSE,60)*IF((N 5),WX,1)); 

    M6:=(MA(CLOSE,120)*IF((N 6),WX,1)); 

    M7:=(MA(CLOSE,240)*IF((N 7),WX,1)); 

    M8:=(MA(CLOSE,340)*IF((N 8),WX,1)); 

    C1:=REF(CLOSE,1); 

    C2:=HHV(C1,2); 

    C3:=LLV(C1,1); 

    ET:=HHV(C1,2); 

    ET1:=REF(ET,1); 

    XB:=LLV(C1,1); 

    XB1:=REF(XB,1); 

    M:=BARSLAST(((CLOSE XB)AND(C1 =XB1))); 

    M11:=REF(M,1); 

    N9:=BARSLAST(((CLOSE ET)AND(C1 =ET1))); 

    N1:=REF(N9,1); 

    M21:=(BARSLAST((((M-N9) 0)AND(M11 =N1)))+1); 

    N2:=(BARSLAST((((N9-M) 0)AND(N1 =M11)))+1); 

    ET2:=HHV(ET,M21); 

    XB2:=LLV(XB,N2); 

    H1:=IF(((M-N9) 0),CLOSE,ET2); 

    H2:=IF((A=1),CLOSE,C2); 

    H3:=IF(((M-N9) 0),CLOSE,XB2); 

    H4:=IF((A=1),CLOSE,XB2); 

    H5:=IF((((M-N9) 0)OR(A=1)),CLOSE,H3); 

    H6:=REF(H5,1); 

    H7:=REF(H5,2); 

    H8:=(H5 H6); 

    H9:=(((H4=REF(H4,1))AND(REF(H4,1) REF(H4,2)))AND(H5 REF(H5,2))); 

    H10:=(((H2=REF(H2,1))AND(H4=REF(H4,1)))AND(H5=REF(H5,2))); 

    W:=((H8ORH9)ORH10); 

    T9:=((H5 H6)AND(H5 REF(H5,2))); 

    T10:=((H4=REF(H4,1))AND(H5 REF(H5,2))); 

    T11:=((H3 REF(H3,1))AND(H5 REF(H5,1))); 

    T12:=((H5=REF(H5,1))AND(H3=H4)); 

    T13:=((H2=REF(H2,1))AND(H2=H5)); 

    TW:=((((T9ORT10)ORT11)ORT12)ORT13); 

    PK:=((AMOUNT*(((OPEN+CLOSE)+HIGH)+LOW))/4); 

    PK1:=IF((VOL 0),(PK/AMOUNT),((((OPEN+CLOSE)+HIGH)+LOW)/4)); 

    BBP:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100); 

    DRAWTEXT((ISLASTBARAND(BBP =96.5)),(H5*1.022), 明见-短高-龙头-除外 ),COLORRED; 

    DRAWTEXT((ISLASTBARAND(BBP 1)),((H5+H4)/1.96), 明见-短低-跌停-除外 ),COLORGREEN; 

    DRAWTEXT(((ISLASTBARANDW)AND(BBP 96.5)),(H5*1.022), 明日看涨 ),COLORYELLOW; 

    DRAWTEXT(((ISLASTBARANDTW)AND(BBP 1)),((H5+H4)/2), 明日看跌 ),COLORGREEN; 

    N1:=7;LC1:=REF(CLOSE,1);WTC1:=SMA(MAX(CLOSE-LC1,0),N1,1)/SMA(ABS(CLOSE-LC1),N1,1)*100,COLORFFFFFF;A:=80,COLORGRAY,LINETHICK2;LC:=REF(CLOSE,1);方向线:=((SMA(MAX((CLOSE-LC),0),4,1)/SMA(ABS((CLOSE-LC)),4,1))*100);XG:CROSS(方向线,A)OR方向线=A; 

    LLV(C,30) =LLV(C,2)ANDC/REF(C,1) (1+8.8/100);


    image.png

    公式解读:


    每日通达信公式解答:


    编写要求:


    10天出现过近30天最大最量的公式


    解答:


    XG:HHV(V,10)=HHV(V,30);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信预测涨停指标公式(通达信公式) 加入收藏