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

    正文概述    2024-04-13 14:48:32  

    {指标介绍:
    (1)形态位置:股价处于底部区域较少出现在上升途中。
    (2)均线要求:5日均线要上穿10日均线形成金叉。
    (3)量能形态:第三根k线要带量,且收盘价站上5日均线。
    (4)介入位置:底分型成立之后,第三根K线的收盘价站上5日均线,5日均线上穿10日均线形成金叉可介入,MACD多头发散。
    (5)离场时机:跌破10日均线可减仓离场。}

    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;
    DFX:=V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10;{底分型}
    TJ:=REF(L,1) REF(L,2) AND REF(L,1) L AND REF(H,1) REF(H,2) AND REF(H,1) H AND C REF(H,2) AND C
    XG:=DFX AND TJ;{强势底分型};
    DRAWICON(XG,L,9);
    CPX:MA(C,18),COLORGREEN;
    IF(CPX =REF(CPX,1),CPX,DRAWNULL),COLORRED;
    {红K}
    STICKLINE(C =CPX AND C O,O,C,-1,1),COLOR0000DD; {红色空心柱} { COLORRED }
    STICKLINE(C =CPX AND C O,H,C,0,0),COLOR0000DD;
    STICKLINE(C =CPX AND C O,O,L,0,0),COLOR0000DD;
    STICKLINE(C =CPX AND C =O,O,C,-1,0),COLOR0000DD;{红色实心柱}
    STICKLINE(C =CPX AND C =O,H,O,0,0),COLOR0000DD;
    STICKLINE(C =CPX AND C =O,C,L,0,0),COLOR0000DD;
    {蓝K}
    STICKLINE(C CPX AND C O,O,C,-1,1),COLORFFBB00; {蓝色空心柱} {COLORFFFF66}
    STICKLINE(C CPX AND C O,H,C,0,0),COLORFFBB00;
    STICKLINE(C CPX AND C O,O,L,0,0),COLORFFBB00;
    STICKLINE(C CPX AND C =O,O,C,-1,0),COLORFFBB00;{蓝色实心柱}
    STICKLINE(C CPX AND C =O,H,O,0,0),COLORFFBB00;
    STICKLINE(C CPX AND C =O,C,L,0,0),COLORFFBB00;
    STICKLINE(XG=1 AND C O,O,C,-1,1),COLORYELLOW; {红色空心柱}
    STICKLINE(XG=1 AND C O,H,C,0,0),COLORYELLOW;
    STICKLINE(XG=1 AND C O,O,L,0,0),COLORYELLOW;

    通达信强势底分型主图指标公式源码

    通达信强势底分型主图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信强势底分型主图指标公式源码 加入收藏