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

    正文概述    2024-04-13 14:02:47  

    通达信指标:回调撮合主图

    DRAWGBK(O C,RGB(360,0,10),RGB(10,0,1),0,'01',0);
    CC:IF(CURRBARSCOUNT 18,CONST(REF(C,1)),DRAWNULL),COLOR000000;
    止赢:1.05*CC,COLORFFFFFF,LINETHICK2;
    止损:0.97*CC,COLORFFFFFF,LINETHICK2;
    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);
    支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK1,COLORCC66FF;
    阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK1,COLORGREEN;
    涨幅:100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORWHITE;
    最大涨幅:100*(H-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW;
    最大跌幅:100*(L-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW;
    实体幅:ABS(100*(CLOSE-OPEN)/OPEN),NODRAW,COLORRED;
    上影幅:IF(CLOSE OPEN,100*(H-C)/C,100*(H-O)/O),NODRAW,COLORYELLOW;
    下影幅:IF(CLOSE OPEN,100*(O-L)/L,100*(C-L)/L),NODRAW,COLORWHITE;
    X:=(3*C+L+O+H)/6;

    AH1:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
    +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
    +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
    REF(X,20))/210;
    CP:=IF(C REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);


    AH2:=EXPMEMA(CP,25);
    持股线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
    VAR2M:=CLOSE*VOL;
    VAR3M:=EMA((EXPMA(VAR2M,3)/EXPMA(VOL,3)+EXPMA(VAR2M,6)/EXPMA(VOL,6)+EXPMA(VAR2M,12)/EXPMA(VOL,12)+EXPMA(VAR2M,24)/EXPMA(VOL,24))/4,13);
    SDN:=VAR3M*0.94;
    涨停B:=CLOSE 1.1*REF(CLOSE,1)-0.005 AND H
    首个涨停:=BARSLAST(涨停B);
    大阳:=100*(H-REF(C,1))/REF(C,1)
    DRAWICON((C SDN AND 100*(L-持股线)/持股线 1.5 AND 100*(L-((MIN(AH2,AH1)+MIN(持股线,AH2)+MIN(持股线,AH1))/2.95))/((MIN(AH2,AH1)+MIN(持股线,AH2)+MIN(持股线,AH1))/2.95) 1.5 AND (COUNT(大阳{ OR 倍量},13) =2 OR 首个涨停 13) AND BARSLAST(大阳) 0 AND 涨幅 =2),L*0.98,1);
    DRAWTEXT(CLOSE 1.1*REF(CLOSE,1)-0.005,CLOSE*1.02,'停,'),COLORCYAN;
    DRAWTEXT(CLOSE 0.9*REF(CLOSE,1)+0.005,L*0.98,'停,'),COLORCCCCCC;
    VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
    火:=BARSLAST(EMA(CLOSE,5) REF(EMA(CLOSE,5),1));
    CRXP:=((REF(上影幅,1) 3 AND REF(下影幅,1) 1.15))
    AND ((下影幅 3 AND 上影幅 1.55)) AND 涨幅
    JM:=(3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1));
    强势回调:=(首个涨停 14 OR (首个涨停 26 AND 首个涨停 19));
    搓揉:=((强势回调 AND CRXP) OR (CRXP AND (JM REF(JM,1) OR (火 0 AND JM 7))));
    DRAWTEXT_FIX(1,0.85,0,0,''),COLORCYAN;
    DRAWTEXT(搓揉,L*0.96,'★搓揉买入,'),COLORFFFFFF;
    回调搓合承受价:(MIN(AH2,AH1)+MIN(BBI,AH2)+MIN(BBI,AH1))/2.95,NODRAW;
    大盘短期生命线:EMA(((SLOPE(INDEXC,22)*23)+INDEXC),48),COLORYELLOW,LINETHICK3,NODRAW;
    DA1:=IF(130 TOTALBARSCOUNT,TOTALBARSCOUNT,130);
    DA:=IF(CURRBARSCOUNT DA1,0,DA1);
    HI:=REFDATE(HHV(H,DA),DATE);
    LO:=REFDATE(LLV(L,DA),DATE);
    C1:=IF(CURRBARSCOUNT =DA,C,DRAWNULL);
    GZ:=EXP(LN(HI/LO)/10);
    LH1:=SUM(IF(C1 =(HI/GZ),V,0),DA);
    LH2:=SUM(IF(C1 =(HI/POW(GZ,2)) AND C1 (HI/GZ),V,0),DA);
    LH3:=SUM(IF(C1 =(HI/POW(GZ,3)) AND C1 (HI/POW(GZ,2)),V,0),DA);
    LH4:=SUM(IF(C1 =(HI/POW(GZ,4)) AND C1 (HI/POW(GZ,3)),V,0),DA);
    LH5:=SUM(IF(C1 =(HI/POW(GZ,5)) AND C1 (HI/POW(GZ,4)),V,0),DA);
    LH6:=SUM(IF(C1 =(HI/POW(GZ,6)) AND C1 (HI/POW(GZ,5)),V,0),DA);
    LH7:=SUM(IF(C1 =(HI/POW(GZ,7)) AND C1 (HI/POW(GZ,6)),V,0),DA);
    LH8:=SUM(IF(C1 =(HI/POW(GZ,8)) AND C1 (HI/POW(GZ,7)),V,0),DA);
    LH9:=SUM(IF(C1 =(LO*GZ) AND C1 LO*POW(GZ,2),V,0),DA);
    LH10:=SUM(IF(C1 =LO AND C1 LO*GZ,V,0),DA);
    L1:=REFDATE(HHV(LH1,DA),DATE);
    L2:=REFDATE(HHV(LH2,DA),DATE);
    L3:=REFDATE(HHV(LH3,DA),DATE);
    L4:=REFDATE(HHV(LH4,DA),DATE);
    L5:=REFDATE(HHV(LH5,DA),DATE);
    L6:=REFDATE(HHV(LH6,DA),DATE);
    L7:=REFDATE(HHV(LH7,DA),DATE);
    L8:=REFDATE(HHV(LH8,DA),DATE);
    L9:=REFDATE(HHV(LH9,DA),DATE);
    L10:=REFDATE(HHV(LH10,DA),DATE);
    SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
    STICKLINE(CEILING(DA*L1/SS)*3 =CURRBARSCOUNT,HI*99/100,HI/GZ,9,0),
    ,COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L2/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,1)*99/100
    ,HI/POW(GZ,2),9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L3/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,2)*99/100
    ,HI/POW(GZ,3),9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L4/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,3)*99/100
    ,HI/POW(GZ,4),9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L5/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,4)*99/100
    ,HI/POW(GZ,5),9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L6/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,5)*99/100
    ,HI/POW(GZ,6),9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L7/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,6)*99/100
    ,HI/POW(GZ,7),9,0),COLOR181818;
    STICKLINE(CEILING(DA*L8/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)
    *99/100,9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L9/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)
    *99/100,9,0),COLOR181818,LINETHICK3;
    STICKLINE(CEILING(DA*L10/SS)*3 =CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)
    ,COLOR181818,LINETHICK3;
    DRAWKLINE(H,O,L,C);
    DRAWKLINE(H,O,L,C);
    DRAWTEXT(CURRBARSCOUNT=98,LOW*0.88,'☆压力越大暗条越长,做多越短越好★'),COLORYELLOW;
    N:=10;
    T1:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;
    量能平台:IF(CURRBARSCOUNT =N+15,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLOR4080FF,LINETHICK3;
    新量能点:IF(CURRBARSCOUNT=T1+1,量能平台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9;
    DRAWTEXT(ISLASTBAR,量能平台,' 量能平台'),COLOR00F0F0;
    JJ:=(CLOSE+HIGH+LOW)/3;
    A:=EMA(JJ,10);
    B:=REF(A,1);
    持股区域:STICKLINE(A B,A,B,2,0),COLORYELLOW;
    持币区域:STICKLINE(A B,A,B,2,0),COLORBLUE;
    VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
    VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
    VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
    DIR1:=ABS(CLOSE-REF(CLOSE,5));
    VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
    ER1:=DIR1/VIR1;
    CS1:=ER1*(0.8-2/8)+2/8;
    CQ1:=CS1*CS1;
    DIR2:=ABS(CLOSE-REF(CLOSE,10));
    VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
    ER2:=DIR2/VIR2;
    CS2:=ER2*(0.8-2/24)+2/24;
    CQ2:=CS2*CS2;
    STICKLINE(VAR2 MA(VAR3,6),LOW,HIGH,0,1),COLORLIBLUE;
    STICKLINE(VAR2 MA(VAR3,6),LOW,HIGH,0,1),COLORRED;
    STICKLINE(((OPEN CLOSE)AND(VAR2 MA(VAR3,6))),(CLOSE-0.03),OPEN,3.05,0),COLORLIBLUE;
    STICKLINE(((OPEN CLOSE)AND(VAR2 MA(VAR3,6))),CLOSE,OPEN,3.05,1),COLORLIBLUE;
    STICKLINE(((OPEN CLOSE)AND(VAR2 MA(VAR3,6))),OPEN,(CLOSE-0.03),3.05,0),COLORRED;
    STICKLINE(((OPEN CLOSE)AND(VAR2 MA(VAR3,6))),OPEN,CLOSE,3.05,1),COLORRED;
    DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.01)),23);
    DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.01)),15);
    PT:=REF(H,1)-REF(L,1);
    CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
    AH:=CDP+PT;
    AL:=CDP-PT;
    NH:=CDP*2-REF(L,1);
    NL:=CDP*2-REF(H,1);
    强:IF(AH REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
    阻:IF(NH 强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORBLUE;
    M:=IF(AL REF(C,1)/1.1,REF(C,1)/1.1,AL);
    撑:IF(NL M,CDP-(CDP-M)*0.618,NL)NODRAW;
    底:IF(AL REF(C,1)/1.1,REF(C,1)/1.1,AL)NODRAW;
    通达信回调撮合主图公式源码贴图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信回调撮合主图公式源码贴图 加入收藏