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

    正文概述    2024-04-07 06:50:34  
    STICKLINE(MACD~ =DE_M,MACD~,DE_M,0,0),COLORLIBLUE;
    D_1:=MACD~ H AND H =DE_M AND DE_M
    D_2:=MACD~ H AND H =L AND L DE_M;
    D_3:=H MACD~ AND MACD~ =L AND L DE_M;
    D_4:=H MACD~ AND MACD~ DE_M AND DE_M
    STICKLINE(D_1 0,H,DE_M,0,0),COLORYELLOW;
    STICKLINE(D_2,H,L,0,0),COLORYELLOW;
    STICKLINE(D_3,MACD~,L,0,0),COLORYELLOW;
    STICKLINE(D_4,MACD~,DE_M,0,0),COLORYELLOW;
    D_5:=MACD~ L AND L =DE_M AND DE_M
    D_6:=MACD~ L AND H DE_M;
    D_7:=L MACD~ AND MACD~ =H AND H DE_M;
    D_8:=L MACD~ AND MACD~ DE_M AND DE_M
    STICKLINE(MACD~ DE_M,DE_M,MACD~,0,0),COLORAA00AA;
    STICKLINE(D_5,DE_M,L,0,0),COLORYELLOW;
    STICKLINE(D_6,H,L,0,0),COLORYELLOW;
    STICKLINE(D_7,H,MACD~,0,0),COLORYELLOW;
    STICKLINE(D_8,DE_M,MACD~,0,0),COLORYELLOW;
    L_00:DE_K;
    L_20:JI_K/5+DE_K;
    L_80:JI_K*4/5+DE_K;
    L_100:JI_K+DE_K;
    B1:=MA(CLOSE,1);
    B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ;
    SMA2:=MA(B2,5) ;
    DRAWBAND(B2,RGB(255,0,0),SMA2,RGB(0,255,0));
    {FILLRGN(B2,SMA2,B2 SMA2),COLORRED;
    FILLRGN(B2,SMA2,B2 SMA2),COLORGREEN;}
    X:=21;
    TTY:=H;
    AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
    BBT:=FILTER(AAT,X);
    CCT:=BACKSET(BBT,X+1);
    HD10T:=FILTER(CCT,X);
    AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
    BB1T:=FILTER(AA1T,X);
    CC1T:=BACKSET(BB1T,X+1);
    LD10T:=FILTER(CC1T,X);
    前期高位:REF(H,BARSLAST(HD10T)),COLORBLUE,LINETHICK0;
    前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0;
    {www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
    三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2)) =REF(L,3);
    三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2)) REF(V,3));
    三日价涨A:=C =REF(C,1);
    三日价涨B:=C REF(C,1);
    三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2)) =REF(L,3);
    TIM:=IF(DATE 1140214,1,0);
    缩倍柱:=(VOL*1.95 =REF(VOL,1))*TIM;
    百日低量:=(VOL=LLV(VOL,100))*TIM;
    倍量柱:=C REF(C,1)*1.04 AND (VOL =1.9*REF(VOL,1))*TIM;
    四日前倍量柱:=(REF(VOL,3) 1.9*REF(VOL,4))*TIM;
    四日前高量柱:=(REF(VOL,3) =REF(VOL,4) AND REF(VOL,3) 1.9*REF(VOL,4) AND 三日量缩)*TIM;
    前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND
    (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;
    倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
    高量黄金柱:=四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
    黄金柱:=倍量黄金柱 OR 高量黄金柱;
    次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
    次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
    次黄金柱:=次倍量黄金柱 OR 次高量黄金柱;
    准倍量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前倍量柱 AND ((三日量缩 AND 三日价涨C) OR (COUNT(倍量柱,3) =1 AND 三日不破))
    AND 前三引用不成立;
    准高量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前高量柱 AND (三日量缩 AND 三日价涨C) AND 前三引用不成立;
    准黄金柱:=准倍量黄金柱 OR 准高量黄金柱;
    倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
    高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
    将军柱:=倍量将军柱 OR 高量将军柱;
    BACKSET101:=BACKSET(黄金柱,4);
    FILTER101:=FILTER(BACKSET101,3);
    AAA:=(3*C+H+L+O)/6;
    VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
    TJ1:=VOL =HHV(VOL,3) AND VOL 2*REF(VOL,1) AND CLOSE VAR1;
    将军柱1:=FILTER(TJ1,5);
    TJ2:=IF(BARSLAST(将军柱1)=1 AND CLOSE REF(HIGH,1),1,IF(BARSLAST(将军柱1)=2 AND CLOSE REF(HIGH,2),1,IF(BARSLAST(将军柱1)=3 AND CLOSE REF(HIGH,3),1,0)));
    突破:TJ2=1;
    STICKLINE(CLOSE,REF(HIGH,BARSLAST(将军柱1)),REF(HIGH,BARSLAST(将军柱1)),1,0),COLORWHITE;
    STICKLINE(CLOSE,REF(LOW,BARSLAST(将军柱)),REF(LOW,BARSLAST(将军柱)),1,0),COLORYELLOW;
    TJ3:=IF(BARSLAST(将军柱1)=1 AND CLOSE REF(LOW,1),1,IF(BARSLAST(将军柱1)=2 AND CLOSE REF(LOW,2),1,IF(BARSLAST(将军柱1)=3 AND CLOSE REF(LOW,3),1,0)));
    三天法则:=TJ3=1;
    成立:三天法则 AND 突破;
    条件成立:=FILTER(成立,3);
    DRAWTEXT(条件成立,L*0.99,'将军柱1'),COLORYELLOW;
    高:=REF(HHV(H,80),3);
    低:=REF(LLV(L,80),3);
    H19:=高-(高-低);
    H38:=高-(高-低);
    H中:=高-(高-低);
    H61:=高-(高-低);
    H80:=高-(高-低);
    顶点:REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORWHITE;
    低点:REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE;
    {DRAWKLINE(H,O,L,C);}
    {主图中的倍量K线如何变黄色}
    V2V:=V/REF(V,1) =1.9 AND C REF(C,1);
    STICKLINE(V2V,O,C,-1,0),COLORYELLOW;
    {涨停}
    ZT:=C/REF(C,1) 1.097;
    STICKLINE(ZT,O,C,-1,0),COLORMAGENTA;
    MAXV:=CONST(HHV(VOL,90));
    MAXS:=CONST(HHV(HIGH,90));
    BS:=MAXV/MAXS;
    VOLUME:=VOL/BS*0.10;
    ORIGIN:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VOLUME,0)),;
    STICKLINE(CLOSE =OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORRED;
    STICKLINE(CLOSE OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORGREEN;

    通达信炒股主图指标公式


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 炒股主图指标 (源码) 加入收藏