最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信缠论之精华分型顶底(指标/源码 主图/副图/选股贴图)无未来

    正文概述    2024-04-13 15:05:11  

    分型顶底是缠论中的一个精华,说白了就是三根K线的组合形态,各种股票播放教室和直播间都有老师专题讲座。从缠论到分型,再从分型到顶底的确立和画出顶底连接的线段,是理论与实践相结合、宗教与股票相结合的经典范例。中国人的智慧,你不得不服!
    【底分型】
    分型顶底分为底分型和顶分型。底分型是下跌过程中出现转折的信号,即三根K线,中间一根K线是最低的,分别包容两侧的两根K线。底分型被看为股票见底的信号,底分型出现后,相应股票则可能会打开上升通道。一只下跌中的股票,如果连底分型都没有出现,就不应当急于买入。
    【顶分型】
    顶分型是上涨过程出现转折的信号,三根K线,中间一根K线是最高的,分别包容两侧的两根K线。顶分型被看为股票见顶的信号,顶分型出现后,相应股票则可能会进入下跌通道,可以考虑减仓或者清仓的卖出操作。
    分型顶底是根据分型理论编写的指标,包括分型顶底主图、分型顶底副图和分型顶底选股三个指标,非本人原创。
    【使用方法】
    出现底分型信号买入,黄色线段区间持股;出现顶分型信号卖出,紫红色线段区间持币。也可以在紫红色线段转成黄色线段时买入,黄色线段转成紫红色线段时卖出。如果出现顶分型信号,但是仍然是黄色线段,没有转成紫红色线段时,可以继续持股。
    【说明】
    1.分型顶底指标兼顾大小波段,大波段中优势更明显,所以,更适合中长线操作。
    2.公式中含有未来函数DRAWLINE,DRAWLINE是用于绘制直线段的,不会出现漂移现象,不会对底分型、顶分型信号和选股产生影响。如果你不喜欢,可以删除下面两句公式:DRAWLINE(LV1,LOW,HHV1,HIGH,0),COLORYELLOW,LINETHICK2;
    DRAWLINE(HHV1,HIGH,LV1,LOW,0),COLORMAGENTA,LINETHICK2;
    分型顶底-通达信


    分型顶底主图副图公式:
    重心线:(H+L+O+C*3)/6;
    NX:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    牛线:(20*NX+19*REF(NX,1)+18*REF(NX,2)+17*REF(NX,3)+16*REF(NX,4)
    +15*REF(NX,5)+14*REF(NX,6)+13*REF(NX,7)+12*REF(NX,8)+11*REF(NX,9)
    +10*REF(NX,10)+9*REF(NX,11)+8*REF(NX,12)+7*REF(NX,13)+6*REF(NX,14)
    +5*REF(NX,15)+4*REF(NX,16)+3*REF(NX,17) +2*REF(NX,18)+REF(NX,20))/210;
    牛熊线:MA(牛线,6),COLORGREEN,LINETHICK2;
    顶:=BBI+3*STD(BBI,13),COLOR004AFF;
    底:=BBI-3*STD(BBI,13),COLOR67FF00;
    KU1:=IF(HIGH=HHV(HIGH,3),1,0);
    KD1:=IF(LOW=LLV(LOW,3),1,0);
    UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0
    AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1
    AND REF(KU1,1)=0 AND KU1=0)));
    DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0
    AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1
    AND REF(KD1,1)=0 AND KD1=0)));
    HV:=H UL AND H REF(H,1);
    LV:=L DL AND L REF(L,1);
    GP:=BARSLAST(HV);
    DP:=BARSLAST(LV);
    IP:=IF(GP=0,DP,GP)
    HHV1:=HV AND IP AND H =HHV(H,BARSLAST(LV));
    LV1:=LV AND IP AND L =LLV(L,BARSLAST(HV));
    V00:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V01:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V02:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V03:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V04:=REF(HIGH,2) HIGH AND REF(LOW,2) LOW
    AND REF(HIGH,2) REF(HIGH,1) AND REF(LOW,2) REF(LOW,1);
    V1:=COUNT(V00,6) =3 AND COUNT(V01 OR V02,5)=0 AND LLVBARS(LOW,6)=1 AND HHVBARS(HIGH,6) =5 AND V03;
    V2:=COUNT(V00,7) =3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7)=2 AND HHVBARS(HIGH,7) =6 AND V04;
    V3:=COUNT(V00,7) =3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7)=1 AND HHVBARS(HIGH,7) =6 AND V03;
    V4:=COUNT(V00,8) =3 AND COUNT(V01 OR V02,7) =2 AND LLVBARS(LOW,8)=2 AND HHVBARS(HIGH,8) =7 AND V04;
    V5:=COUNT(V00,8) =3 AND COUNT(V01 OR V02,7) =2 AND LLVBARS(LOW,8)=1 AND HHVBARS(HIGH,8) =7 AND V03;
    V6:=COUNT(V00,9) =3 AND COUNT(V01 OR V02,8) =3 AND LLVBARS(LOW,9)=2 AND HHVBARS(HIGH,9) =8 AND V04;
    V7:=COUNT(V00,9) =3 AND COUNT(V01 OR V02,8) =3 AND LLVBARS(LOW,9)=1 AND HHVBARS(HIGH,9) =8 AND V03;
    V8:=COUNT(V00,10) =3 AND COUNT(V01 OR V02,9) =4 AND LLVBARS(LOW,10)=2 AND HHVBARS(HIGH,10) =9 AND V04;
    V9:=COUNT(V00,10) =3 AND COUNT(V01 OR V02,9) =4 AND LLVBARS(LOW,10)=1 AND HHVBARS(HIGH,10) =9 AND V03;
    V10:=COUNT(V00,11) =3 AND COUNT(V01 OR V02,10) =5 AND LLVBARS(LOW,11)=2 AND HHVBARS(HIGH,11) =10 AND V04;
    XG:=V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10;
    HV00:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    HV01:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    HV02:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    HV03:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    HV04:=REF(HIGH,2) HIGH AND REF(LOW,2) LOW AND REF(HIGH,2) REF(HIGH,1) AND REF(LOW,2) REF(LOW,1);
    HV1:=COUNT(HV00,6) =3 AND COUNT(HV01 OR HV02,5)=0 AND HHVBARS(HIGH,6)=1 AND LLVBARS(LOW,6) =5 AND HV03;
    HV2:=COUNT(HV00,7) =3 AND COUNT(HV01 OR HV02,6)=1 AND HHVBARS(HIGH,7)=2 AND LLVBARS(LOW,7) =6 AND HV04;
    HV3:=COUNT(HV00,7) =3 AND COUNT(HV01 OR HV02,6)=1 AND HHVBARS(HIGH,7)=1 AND LLVBARS(LOW,7) =6 AND HV03;
    HV4:=COUNT(HV00,8) =3 AND COUNT(HV01 OR HV02,7) =2 AND HHVBARS(HIGH,8)=2 AND LLVBARS(LOW,8) =7 AND HV04;
    HV5:=COUNT(HV00,8) =3 AND COUNT(HV01 OR HV02,7) =2 AND HHVBARS(HIGH,8)=1 AND LLVBARS(LOW,8) =7 AND HV03;
    HV6:=COUNT(HV00,9) =3 AND COUNT(HV01 OR HV02,8) =3 AND HHVBARS(HIGH,9)=2 AND LLVBARS(LOW,9) =8 AND HV04;
    HV7:=COUNT(HV00,9) =3 AND COUNT(HV01 OR HV02,8) =3 AND HHVBARS(HIGH,9)=1 AND LLVBARS(LOW,9) =8 AND HV03;
    HV8:=COUNT(HV00,10) =3 AND COUNT(HV01 OR HV02,9) =4 AND HHVBARS(HIGH,10)=2 AND LLVBARS(LOW,10) =9 AND HV04;
    HV9:=COUNT(HV00,10) =3 AND COUNT(HV01 OR HV02,9) =4 AND HHVBARS(HIGH,10)=1 AND LLVBARS(LOW,10) =9 AND HV03;
    HV10:=COUNT(HV00,11) =3 AND COUNT(HV01 OR HV02,10) =5 AND HHVBARS(HIGH,11)=2 AND LLVBARS(LOW,11) =10 AND HV04;
    HXG:=HV1 OR HV2 OR HV3 OR HV4 OR HV5 OR HV6 OR HV7 OR HV8 OR HV9 OR HV10;
    底分型:FILTER(XG=1,5) AND 重心线 10.5 AND 牛线 12 AND 牛熊线 10.2,COLORYELLOW,NODRAW;
    顶分型:FILTER(HXG=1,3),NODRAW;
    DRAWBAND(BBI,RGB(97,95,00),顶,RGB(97,95,00));
    DRAWBAND(BBI,RGB(25,75,150),底,RGB(25,75,250));
    {用DRAWLINE函数(属于未来函数)绘制直线段,不喜欢的可以删除下面两句公式}
    DRAWLINE(LV1,LOW,HHV1,HIGH,0),COLORYELLOW,LINETHICK2;
    DRAWLINE(HHV1,HIGH,LV1,LOW,0),COLORMAGENTA,LINETHICK2;
    STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORRED;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR000055;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR000077;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR000099;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR0000BB;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLOR0000DD;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLOR0000FF;
    STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,1),COLORWHITE;
    STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR555555;
    STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR777777;
    STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR999999;
    STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORBBBBBB;
    STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORDDDDDD;
    STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORFFFFFF;
    STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR990000;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLORCC0000;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLORFF4400;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORFF8800;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORFFCC00;
    STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORCYAN;
    DRAWTEXT(FILTER(XG=1,5) AND 重心线 10.5 AND 牛线 12 AND 牛熊线 10.2,L*0.97,'底分型'),COLORYELLOW;
    DRAWTEXT(FILTER(HXG=1,3),H*1.02,'顶分型');

    分型顶底选股公式:
    重心线:=(H+L+O+C*3)/6;
    NX:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    牛线:=(20*NX+19*REF(NX,1)+18*REF(NX,2)+17*REF(NX,3)+16*REF(NX,4)
    +15*REF(NX,5)+14*REF(NX,6)+13*REF(NX,7)+12*REF(NX,8)+11*REF(NX,9)
    +10*REF(NX,10)+9*REF(NX,11)+8*REF(NX,12)+7*REF(NX,13)+6*REF(NX,14)
    +5*REF(NX,15)+4*REF(NX,16)+3*REF(NX,17) +2*REF(NX,18)+REF(NX,20))/210;
    牛熊线:=MA(牛线,6),COLORGREEN,LINETHICK2;
    V00:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V01:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V02:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V03:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
    V04:=REF(HIGH,2) HIGH AND REF(LOW,2) LOW
    AND REF(HIGH,2) REF(HIGH,1) AND REF(LOW,2) REF(LOW,1);
    V1:=COUNT(V00,6) =3 AND COUNT(V01 OR V02,5)=0 AND LLVBARS(LOW,6)=1 AND HHVBARS(HIGH,6) =5 AND V03;
    V2:=COUNT(V00,7) =3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7)=2 AND HHVBARS(HIGH,7) =6 AND V04;
    V3:=COUNT(V00,7) =3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7)=1 AND HHVBARS(HIGH,7) =6 AND V03;
    V4:=COUNT(V00,8) =3 AND COUNT(V01 OR V02,7) =2 AND LLVBARS(LOW,8)=2 AND HHVBARS(HIGH,8) =7 AND V04;
    V5:=COUNT(V00,8) =3 AND COUNT(V01 OR V02,7) =2 AND LLVBARS(LOW,8)=1 AND HHVBARS(HIGH,8) =7 AND V03;
    V6:=COUNT(V00,9) =3 AND COUNT(V01 OR V02,8) =3 AND LLVBARS(LOW,9)=2 AND HHVBARS(HIGH,9) =8 AND V04;
    V7:=COUNT(V00,9) =3 AND COUNT(V01 OR V02,8) =3 AND LLVBARS(LOW,9)=1 AND HHVBARS(HIGH,9) =8 AND V03;
    V8:=COUNT(V00,10) =3 AND COUNT(V01 OR V02,9) =4 AND LLVBARS(LOW,10)=2 AND HHVBARS(HIGH,10) =9 AND V04;
    V9:=COUNT(V00,10) =3 AND COUNT(V01 OR V02,9) =4 AND LLVBARS(LOW,10)=1 AND HHVBARS(HIGH,10) =9 AND V03;
    V10:=COUNT(V00,11) =3 AND COUNT(V01 OR V02,10) =5 AND LLVBARS(LOW,11)=2 AND HHVBARS(HIGH,11) =10 AND V04;
    XG:=V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10;
    底分型:FILTER(XG=1,5) AND 重心线 10.5 AND 牛线 12 AND 牛熊线 10.2;


    通达信缠论之精华分型顶底(指标/源码 主图/副图/选股贴图)无未来

    通达信缠论之精华分型顶底(指标/源码 主图/副图/选股贴图)无未来

    通达信缠论之精华分型顶底(指标/源码 主图/副图/选股贴图)无未来

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信缠论之精华分型顶底(指标/源码 主图/副图/选股贴图)无未来 加入收藏