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

    正文概述    2024-05-04 04:23:51  

       image.png

        SZ3天地人

        天:IF(HHVBARS(V,60),REF(C,HHVBARS(V,60)),C),COLORLIBLUE,POINTDOT;

        地:IF(LLVBARS(V,5),REF(C,LLVBARS(V,5)),C),COLORYELLOW,POINTDOT;

        人:IF(LLVBARS(V,13),REF(C,LLVBARS(V,13)),C),COLORMAGENTA,POINTDOT;

        MA3:MA(C,3);

        MA13:MA(C,13);

        :COST(5),POINTDOT;

        获利了结:COST(98),POINTDOT;

        ZLX:STICKLINE(C OAND

        REF(C,1) REF(O,1),REF(C,1),REF(C,1)*0.995,4,0),COLOR00FF00;

        SZ1交易量

        WOL:IF(CURRBARSCOUNT=1AND

        PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

        STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,WOL,0,3,-1),COLORBLUE;

        VOLUME:VOL,VOLSTICK;

        V5:MA(VOLUME,5);

        V10:MA(VOLUME,10);

        V20:MA(VOLUME,20);

        V60:MA(VOLUME,60);

        VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

        主

        买:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE

        -LOW)),VOL/2)),COLORRED,POINTDOT;

        主

        卖:IF(CLOSE OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,VAR1*(HIG

        H-LOW),VOL/2))COLORRED,POINTDOT;

        SZ2

        短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;

        中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;

        中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;

        长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;

        高浪日:=REF(短期,1) 2ANDREF(中期,1) 2ANDREF(中长期,1) 2ANDREF(长期,1)

        高浪日:IF(高浪日,1,0),COLORYELLOW,LINETHICK3;

        STICKLINE(高浪日抄底,20,40,2,0),COLORMAGENTA,LINETHICK5;

        DRAWTEXT(高浪日抄底,35, 买入 ),COLORYELLOW,LINETHICK3;

        强势线:80,COLORRED,DOTLINE,LINETHICK2;

        弱势线:20,COLORGREEN,LINETHICK2;

        SZ4惜筹

        A:=H/C 1.03;

        B:=V/REF(V,1) =2ANDV/REF(V,1) =0.8;

        D:=H=HHV(H,3);

        AANDBANDD;

        SZ仙人

        LC:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORW

        HITE,LINETHICK1;

        GAO:=HHV(C,60)-LLV(C,60);

        RSI:=SMA(MAX(LC-REF(LC,1),0),5,1)/SMA(ABS(LC-REF(LC,1)),5,1);

        仙人:LC+GAO*(RSI-0.5),COLORFF3399,LINETHICK1;

        {STICKLINE(CROSS(RSI,0.1),仙人,REF(仙人,1),1,0),COLORYELLOW;

        STICKLINE(CROSS(0.9,RSI),仙人,REF(仙人,1),1,0),COLORCYAN;}

        攻防价位:(REF((H-L)*0.618+L,1)),NODRAW,COLORYELLOW;

        STICKLINE(ISLASTBAR,攻防价位-0.01,攻防价位,6,0),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(MI

        D,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,COLORRED;

        空:MA(多,6),COLORGREEN;

        水平面:MA(CLOSE,60),COLORYELLOW,POINTDOT;

        MS:IF(多 =REF(多,1),多,DRAWNULL),COLORRED,LINETHICK2;

        MM:IF(空 =REF(空,1),空,DRAWNULL),COLORYELLOW,LINETHICK2;

        买:=CROSS(多,空);

        卖:=CROSS(空,多);

        DRAWICON(买,L*0.97,1);

        DRAWICON(卖,H*1.03,2);

        SZ7

        MA30:=EMA(CLOSE,30);

        强弱:EMA(CLOSE,900);

        STICKLINE((MA30 强弱),MA30,强弱,1,0),COLOR0000FF;

        STICKLINE((MA30 强弱),MA30,强弱,1,0),COLOR00FF00;

        H1:=MAX(DYNAINFO(3),DYNAINFO(5));

        L1:=MIN(DYNAINFO(3),DYNAINFO(6));

        P1:=H1-L1;

        阻力:L1+P1*7/8,COLOR00DD00;

        支撑:L1+P1*0.5/8,COLOR00DD00;

        现价:CLOSE,COLORWHITE,LINETHICK1;

        STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;

        DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001, 买 ),COLORYELLOW;{吸}

        DRAWTEXT(LONGCROSS(现价,阻力,2),现价, 抛 ),COLORGREEN;{抛};

        SZ8极品底

        MA6:MA(C,6),COLOR0000FF;

        MA18:MA(C,18),COLOR0096FF;

        MA30:MA(C,30),COLOR00FF99;

        MA60:MA(C,60),COLORFF00FF;

        MA120:MA(C,120),COLORWHITE;

        {MA250:MA(C,250),COLORCYAN;}

        D1:=((MEMA(CLOSE,3)-MEMA(CLOSE,6))*5);

        S:=MA(C,9);

        Z:=((EMA(D1,7)+EMA(CLOSE,5))-S)*100;

        P:=EMA(Z,2);

        D2:=IF(Z P,1,0);

        STICKLINE(D2=0,OPEN,CLOSE,0.8,0),COLORBLUE;

        STICKLINE(D2=1,OPEN,CLOSE,0.8,0),COLORWHITE;

        A:=C-MA6;

        A1:=CROSS(A,0);

        A2:=CROSS(0,A);

        A3:=0.68*MA(FORCAST(CLOSE,2),40);

        A4:=IF(COPEN,A5,A6);

        A8:=IF(OPEN CLOSE,OPEN,CLOSE);

        DRAWICON(A1ANDREF(A1,1)=0,L*0.98,7);

        DRAWICON(A2ANDREF(A2,1)=0,H*1.02,8);

        LC:=REF(C,1);

        LD:=IF(C LC*0.89,1,0);

        LE:=COUNT(LD=1,20);

        LF:=COUNT(LD=1,6);

        LG:=MA6/4.5;

        RSI1:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,NODRAW,COLOR

        YELLOW;

        EE:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,;

        AA:=((REF(EE,1) REF(EE,2)ANDEE -30)ANDEE =REF(EE,1))OR

        (REF(CROSS(-30,EE),1)ANDCROSS(EE,-30))OREE=-30;

        MJ0:=IF(AAANDLE 1,1,0);

        VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);

        VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);

        VAR3:=(CLOSE-VAR1)/VAR1*100

        VAR4:=(VAR1-VAR2)/VAR2*100

        VAR5:=VAR3ANDVAR4;

        VAR6:=VAR5AND(OPEN CLOSEOROPEN CLOSE)AND

        (OPEN-REF(CLOSE,1))/REF(CLOSE,1)

        DRAWTEXT(MJ0=1ANDMACD REF(MACD,1),L*0.95, 极品底 ),COLORMAGENTA;

        DRAWTEXT(A -LGANDLF=0,L*0.96, 下跌过急 ),COLORYELLOW;

        STICKLINE(A4=1,A8,A8+A7/2,2.8,0),COLORMAGENTA;

        DRAWICON(VAR6,L*0.96,11);

        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,COLORCYAN;

        M:=IF(AL REF(C,1)/1.1,REF(C,1)/1.1,AL);

        支撑位:IF(NL M,CDP-(CDP-M)*0.618,NL)NODRAW,COLORLIRED;

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

        K:=SMA(RSV,3,1);

        D:=SMA(K,3,1);

        J:=3*K-2*D;

        RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,NODRAW,COLORYELL

        OW;

        DRAWICON(CROSS(J,0)ANDRSI 33,L*0.995,1);

        DRAWICON(CROSS(102,J),H*1.005,2);

        DRAWTEXT(CROSS(J,5)ANDRSI 40,L*0.98, 短买

        DRAWICON(CROSS(90,RSI),H+0.2,2);

        SZ15多方炮

        A1:=REF(CLOSE,2) REF(OPEN,2)ANDREF(CLOSE,1) REF(OPEN,1)AND

        CLOSE OPEN;{三日描述}

        A2:=REF(C,2)/REF(O,2) 1.03;{前天的涨幅大于3%}

        A3:=REF(H,1)/REF(L,1) 1.03;{昨振幅大于3%}

        A4:=C/REF(C,1) 1.03;{今天涨幅大于3%}

        A5:=REF(C,1)/REF(C,2) 1.01ANDREF(O,1)/REF(C,2) 1.01;{昨天阴线开盘及收盘价均在前

        日收盘价1.01以内}

        A6:=REF(C,1) REF(O,2);{昨天阴线收盘要大于前日开盘价}

        A7:=C REF(O,1);{今日收盘价大于昨日的开盘价}

        A8:=A1ANDA2ANDA3ANDA4ANDA5ANDA6ANDA7;

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

        K:=SMA(RSV,3,1);

        D:=SMA(K,3,1);

        J:=3*K-2*D;

        多方炮:A8ANDJ

        SZ19熊

        熊迹:MA(CLOSE,49),LINETHICK2,COLORYELLOW;KS:=((CLOSE-EMA(CLOSE,13))/

        EMA(CLOSE,13))*(-100);线:=EMA(((KS/10)+EMA(CLOSE,10)),3);AA:=-100*(趋势

        线-CLOSE)/趋势线;AC:=EMA(AA,5);AG:=SUM((VOL/

        FINANCE(7)),1);SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22)*20)+

        CLOSE),55);MM:=MA(MMV,2);SA:=(MM*

        0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));动态:IF(((SSL

        MM)),SSL,SA),LINETHICK1,COLORGREEN;熊掌:IF(((SSL

        MM)),MM,SA),LINETHICK1,COLORGREEN;猎刀:IF(((SSL

        MM)),MM,SA),LINETHICK2,COLORWHITE;VAR2Y:=(((CLOSE-REF(CLOSE,1))/

        REF(CLOSE,1))*100);VAR3Y:=(((CLOSE-REF(OPEN,29))/REF(OPEN,29))*

        100);VAR4Y:=REF(CLOSE,1);VAR5Y:=((SMA(MAX((CLOSE-VAR4Y),0),6,1)/

        SMA(ABS((CLOSE-VAR4Y)),6,1))*100);VAR6Y:=((SMA(MAX((CLOSE-VAR4Y),0),12,1)

        /SMA(ABS((CLOSE-VAR4Y)),12,1))*100);VAR7Y:=((SMA(MAX((CLOSE-

        VAR4Y),0),24,1)/SMA(ABS((CLOSE-VAR4Y)),24,1))*100);VAR8Y:=(((CLOSE-

        LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45)))*

        100);VAR9Y:=SMA(VAR8Y,3,1);VARAY:=SMA(VAR9Y,3,1);VARBY:=((3*VAR9Y)-(2*

        VARAY));VARCY:=(CROSS(VAR5Y,10)AND(VAR3Y (0-(28*20))));VARDY:=((100-

        CROSS(76,VAR5Y))AND(VAR3Y (5*20)));DRAWICON(((CROSS(76,VAR5Y)AND

        (VAR3Y 5))),(HIGH*1.0099),6),COLORFFFFFF;VAREY:=((((CROSS(VAR9Y,VARAY)

        AND(VARAY 10))AND(VAR3Y (0-30)))AND(VAR2Y 3))*30);VARFY:=-

        ((((VARAY 11)AND(VAR5Y 15))AND(VAR3Y (0-26)))*

        10);DRAWICON((CROSS(VARFY,(0-9))),(LOW*0.998),5);能量线:=DMA(((CLOSE+OPEN)

        /2),(VOL/(SMA(VOL,4,1)*4)));VAR3C:=EMA(能量线,1);VAR4C:=REF(能量

        线,1);X:=EMA(((SLOPE(CLOSE,21)*20)+

        CLOSE),68);Y:=EMA(CLOSE,10);LL:=REF(CLOSE,2);MD:=((SMA(MAX((CLOSE-

        LL),0),6,1)/SMA(ABS((CLOSE-LL)),6,1))*100);DB:=IF(((MD REF(MD,1))AND(MD

        79)),MD,0);DRAWICON(CROSS(Y,X),(LOW*

        0.985),1),LINETHICK3,COLORRED;DRAWICON(CROSS(X,Y),(HIGH*

        1.02),2),LINETHICK2,COLOR00FF00;DRAWTEXT(DB,(HIGH*1.02), 抛

        ),LINETHICK2,COLOR00FF00;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK:=EMA((((

        CLOSE-VAR1)/(VAR2-VAR1))*50),13);AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))

        *100),5);VAR3:=LLV(LOW,55);VAR4:=HHV(HIGH,34);VAR5:=EMA((((CLOSE-VAR3)/

        (VAR4-VAR3))*100),3);VAR6:=((AK+VAR5)/2);VAR8:=EMA(VAR6,5);BB:=EMA(((0.667

        *REF(VAR8,1))+(0.333*VAR8)),2);AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB)AND

        (BB 30));CD:=(BB1*0.6);DRAWICON((CD=0.6),(LOW*

        0.99),9),LINETHICK1,COLOR33CC99;

        SZ9一号支撑

        N:=5;

        回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);

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

        经典K:=SMA(经典RL,3,1);经典D:=SMA(经典K,3,1);经典J:=3*经典K-2*经典D;

        MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))

        /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));

        MAHL2:=IF(EMA(C,2) 回归斜率线AAND

        MAHL1 0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}

        MAHL3:=IF(EMA(C,2) 回归斜率线AAND

        MAHL1 0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}

        回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线

        A,2),RGB(0,104,154));

        上线:=SMA(C,6.5,1);

        一号支撑线:SMA(C,14.5,1);

        上线1:=SMA(C,3,1);

        一号支撑线1:=SMA(C,8,1);

        上线2:=SMA(C,3.5,1);

        DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08, 洗盘 ),COLOR00FF00;

        BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;

        UPR:=BBI+3*STD(BBI,13),LINETHICK2;

        DWN:=BBI-3*STD(BBI,13);

        安全:=MA(CLOSE,55),LINETHICK2;

        LC:=REF(CLOSE,1);

        RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

        DRAWTEXT(CROSS(82,RSI)ANDCLOSE 上线1,HIGH*1.04, 减仓

        ),COLORFF9966,LINETHICK2;

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

        操作:MA(A7,5),COLORBLUE,LINETHICK2;

        操作1:=MA(A7,5)*1.03,LINETHICK2;

        操作2:=MA(A7,5)*0.97,LINETHICK2;

        DRAWTEXT(CROSS(上线1,上线)AND上线1 操作,LOW*0.92, 买进 ),COLORYELLOW;

        VAR1:LLV(A7,21);

        VAR2:HHV(A7,30);

        DRAWTEXT(CROSS(上线1,操作)AND上线1 一号支撑线AND上线1 一号支撑线1

        AND上线1 上线ANDCLOSE VAR1,LOW*0.98, 见底 ),COLORYELLOW;

        YCX:=操作 =REF(操作,1);

        H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);

        L1:=MIN(MIN(上线,一号支撑线1),一号支撑线);

        DRAWTEXT(CROSS(上线1,一号支撑线1)AND上线1 操作,LOW*0.98, 全仓

        ),COLORYELLOW;

        SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);

        SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

        M1:=1000*操作/一号支撑线 =1015AND1000*操作/一号支撑线 =975;

        M2:=1000*一号支撑线1/一号支撑线 =1020AND一号支撑线1/一号支撑线 =980;

        M3:=1000*上线/一号支撑线 =1015AND上线/一号支撑线 =985;

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

        COUNT(SK SD,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*0.94, 买进 ),COLORYELLOW;

        D:=MA(CLOSE,89)-MA(CLOSE,10)/3;

        DRAWTEXT(IF(CLOSE DANDVOL/240 MA(VOL,5)/240AND

        CLOSE REF(CLOSE,1)*1.08

        ANDCLOSE MA(CLOSE,13)*1.3,1,0),LOW*0.88, 抄底 ),COLORBROWN;

        RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;

        K:=SMA(RSV,3,1);

        D1:=SMA(K,3,1);

        J:=3*K-2*D1;

        VAR3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点}

        VAR4:=EMA(EMA(EMA(VAR3,4),4),4);{可将3该为4,信号少点}

        E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;

        F:=MA(E,3)+0.03;

        G:=MA(E,1);

        DRAWICON(CROSS(F,G)ANDJ 65,HIGH*1.02,15),COLORGREEN;

        DRAWICON(CROSS(G,F),LOW*0.9,9),COLORYELLOW;

        DRAWTEXT(CLOSE OPENANDH1 CANDO L1ANDYCXANDCROSS(上线1,操作)

        ANDLOW VAR1AND上线1 一号支撑线ANDJ 90,LOW*0.9, 主升 ),COLORRED;

        DRAWTEXT(CROSS(上线1,操作)ANDM1ANDM2ANDM3,LOW*0.94, 买进

        ),COLORYELLOW;

        DRAWTEXT(CLOSE OPENAND上线 一号支撑线1AND一号支撑线1 一号支撑线

        ANDCLOSE MA(CLOSE,一号支撑线)AND操作 =REF(CLOSE,操作)ANDCROSS(上线

        1,操作)ANDLOW VAR1ANDJ 90,LOW*0.9, 主升 ),COLORRED;

        DRAWTEXT(CLOSE OPENAND操作 上线AND上线 一号支撑线1AND一号支撑线

        1 一号支撑线ANDCROSS(上线1,操作)ANDLOW VAR1ANDJ 90,LOW*0.86, 回踩买

        进 ),COLORRED;

        DRAWTEXT(CLOSE OPENANDCROSS(上线,一号支撑线)ANDLOW VAR1AND

        J 90,LOW*0.86, 回踩买进 ),COLORRED;

        STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,0),COLORRED;

        STICKLINE(C OANDC REF(C,1),C,O,3,0),COLORFFCC00;

        STICKLINE(CLOSE REF(CLOSE,1)ANDC O,OPEN,CLOSE,3,0),COLOR000055;{红K};

        STICKLINE(CLOSE REF(CLOSE,1)ANDC O,OPEN,CLOSE,2.7,0),COLOR000077;{红

        K};

        STICKLINE(CLOSE REF(CLOSE,1)ANDC O,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),H,L,3,1),COLOR999999;

        STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,0),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(CROSS(J,D1)ANDJ 70,CLOSE,OPEN,2.1,0),COLORFF66FF;

        STICKLINE(CROSS(J,D1)ANDJ 70,CLOSE,OPEN,1.5,0),COLORFF99FF;

        STICKLINE(CROSS(J,D1)ANDJ 70,CLOSE,OPEN,0.9,0),COLORFFBBFF;

        STICKLINE(CROSS(J,D1)ANDJ 70,CLOSE,OPEN,0.3,0),COLORFFDDFF;

        SHOOT

        Q_1:=C-REF(C,1);Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);Q_3:=CROSS(

        EMA(C,19),EMA(C,7));Q_4:=CROSS(EMA(C,7),EMA(C,19));Z1:=L=LLV(L,BARSLAST(Q_3

        )+1);Z2:=LLV(L,BARSLAST(Q_3)+1);Z3:=H=HHV(H,BARSLAST(Q_4)+1);Z4:=HHV(H,BAR

        SLAST(Q_4)+1);Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);Y1:=H=HHV(H,BARSLAST(Q_4)+1);Y2:

        =HHV(H,BARSLAST(Q_4)+1);Y3:=L=LLV(L,BARSLAST(Q_3)+1);Y4:=LLV(L,BARSLAST(

        Q_3)+1);Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);X1:=LLV(Q_2,2)=LLV(Q_2,7);X2:=COUNT(Q_

        2 0,2);X3:=CROSS(Q_2,MA(Q_2,2));X4:=REF(Q_B,1) REF(Q_B,2);X5:=Q_A REF(Q_B,1);

        买进:=(X1ANDX2ANDX3)ANDX4ANDX5;TJ:=IF(Q_B REF(Q_B,1)AND

        Q_B=Q_A,1,0);SHOOT:REF(TJ,1)=0ANDTJ

        SZ18

        DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);

        DEA:EMA(DIFF,9);

        MACD:2*(DIFF-DEA),COLORSTICK,LINETHICK2;

        DRAWTEXT(CROSS(DIFF,DEA),DIFF, ☆ ),COLORRED;

        {DRAWICON(CROSS(DIF,DEA),DIF*1.05,1);

        DRAWICON(CROSS(DEA,DIF),DEA*0.90,2);}

        月DIFF:= MACD.DIF#MONTH COLOR0080FF;

        月DEA:= MACD.DEA#MONTH ,COLOR0080FF,LINETHICK2;

        周DIFF:= MACD.DIF#WEEK COLORRED;

        周DEA:= MACD.DEA#WEEK ,COLORRED,LINETHICK2;

        日DIFF:= MACD.DIF ,COLORWHITE;

        日DEA:= MACD.DEA ,COLORWHITE,LINETHICK2;

        日金:IF(CROSS(日DIFF,日DEA),0.125,0),COLORYELLOW;

        周金:IF(CROSS(周DIFF,周DEA),0.15,0),COLORRED;

        月金:IF(CROSS(月DIFF,月DEA),0.175,0),COLORGREEN;

        DRAWICON(周金AND日金,-0.1,7);

        DRAWICON(周金AND月金,-0.15,11);

        DRAWICON(日金AND月金,-0.1,1);

        日死:IF(CROSS(日DEA,日DIFF),-0.1,0),COLORYELLOW;

        周死:IF(CROSS(周DEA,周DIFF),-0.125,0),COLORRED;

        月死:IF(CROSS(月DEA,月DIFF),-0.15,0),COLORGREEN;

        DRAWICON(周死AND日死,-0.1,8);

        DRAWICON(周死AND月死,-0.15,12);

        DRAWICON(日死AND月死,-0.15,2);

        低位:=CROSS(DIFF,DEA)ANDDIFF -0.1,NODRAW;

        STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;

        DRAWTEXT(低位金叉,0.16, 低位金叉 ),COLORWHITE;

        JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA =0));

        二次金叉:=CROSS(DIFF,DEA)ANDDEA 0ANDCOUNT(JCCOUNT=2,21)=1,NODRAW;

        STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;

        DRAWICON(二次金叉,DEA*0.9,1);

        DRAWTEXT(二次金叉,0.225, 二次金叉 ),COLORYELLOW;

        A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

        底背离:=REF(CLOSE,A1+1) CLOSEANDDIFF REF(DIFF,A1+1)AND

        CROSS(DIFF,DEA),NODRAW;

        STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;

        底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,NODRAW;

        DRAWTEXT(底背离,0.10, 底背离 ),COLORFF00FF;

        A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

        顶背离:=REF(CLOSE,A2+1) CLOSEANDREF(DIFF,A2+1) DIFFAND

        CROSS(DEA,DIFF),NODRAW;

        顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;

        DRAWTEXT(低位金叉AND二次金叉AND底背离,0.275, 三全项

        ),COLOR0000FF,LINETHICK2;

        DRAWICON(CROSS(DIFF,DEA),DEA,1);

        DRAWICON(CROSS(DEA,DIFF),DEA,2);

        WW:=DEA REF(DEA,1);

        DD:=CROSS(DIFF,REF(DIFF,1));

        反身向上:IF((WWANDDD),0.25,0),COLORWHITE;

        DRAWTEXT(反身向上,0.17, 反身上 ),COLORWHITE;

        AD:=LOW=LLV(LOW,14)ANDLOW REF(LOW,1)ANDLOW REF(LOW,5)AND

        MACD REF(MACD,1)AND0 MACDAND0 REF(MACD,1);

        DRAWICON(AD,MACD,9);

        SZ17火焰山

        VAR1:=EMA(HHV(HIGH,500),21);

        VAR2:=EMA(HHV(HIGH,250),21);

        VAR3:=EMA(HHV(HIGH,90),21);

        VAR4:=EMA(LLV(LOW,500),21);

        VAR5:=EMA(LLV(LOW,250),21);

        VAR6:=EMA(LLV(LOW,90),21);

        VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/

        6,21);

        VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21

        );

        VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);

        VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);

        VARB:=REF(LOW,1);

        VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;

        VARD:=EMA(IF(CLOSE*1.35 =VARA,VARC*10,VARC/10),3);

        VARE:=LLV(LOW,30);

        VARF:=HHV(VARD,30);

        VAR10:=IF(MA(CLOSE,58),1,0);

        火焰山:EMA(IF(LOW =VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;

        火焰:STICKLINE(火焰山 0,0,火焰山,4,1);

        今量:火焰山;

        STICKLINE(火焰山 0,0,今量*1.2,8,0)COLOR0000FF;

        STICKLINE(火焰山 0,0,今量*0.8,8,0)COLOR0066FF;

        STICKLINE(火焰山 0,0,今量*0.6,8,0)COLOR0099FF;

        STICKLINE(火焰山 0,0,今量*0.4,8,0)COLOR00CCFF;

        STICKLINE(火焰山 0,0,今量*0.2,8,0)COLOR00FFFF;

        SZ16水池

        STICKLINE(C 0,90,95,10,0),COLOR408000;

        STICKLINE(C 0,10,5,10,0),COLOR408000;

        ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

        DRAWBAND(ZHENGYI,RGB(255,000,139),10,RGB(255,255,71));

        STICKLINE(C 0,90,10,10,0),COLOR000000;

        风险值:ZHENGYI,COLORCYAN,LINETHICK1;

        警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;

        SZ10综合预警

        VAR1:=EMA(HHV(HIGH,500),21);

        VAR2:=EMA(HHV(HIGH,250),21);

        VAR3:=EMA(HHV(HIGH,90),21);

        VAR4:=EMA(LLV(LOW,500),21);

        VAR5:=EMA(LLV(LOW,250),21);

        VAR6:=EMA(LLV(LOW,90),21);

        VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/

        6,21);

        VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21

        );

        VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);

        VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);

        VARB:=REF(LOW,1);

        VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;

        VARD:=EMA(IF(CLOSE*1.35 =VARA,VARC*10,VARC/10),3);

        VARE:=LLV(LOW,30);

        VARF:=HHV(VARD,30);

        VAR10:=IF(MA(CLOSE,58),1,0);

        EMA(IF(LOW =VARE,(VARD+VARF*2)/2,0),3)/618*VAR10

        SZ11笑脸

        M13:=MA(C,13);

        M250:=MA(C,250);

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

        DEA:=EMA(DIF,9);

        M:=(DIF-DEA)*2;

        定位:=BARSLAST(REF(CROSS(DIF,DEA),1));

        前股价低值:=MIN(REF(L,定位+1),MIN(REF(L,定位+2),MIN(REF(L,定位+3),MIN(REF(L,定

        位+4),MIN(REF(L,定位+5),MIN(REF(L,定位+6),REF(L,定位+7)))))));

        DIF前低:=MIN(REF(DIF,定位+1),MIN(REF(DIF,定位+2),MIN(REF(DIF,定位

        +3),MIN(REF(DIF,定位+4),MIN(REF(DIF,定位+5),MIN(REF(DIF,定位+6),REF(DIF,定位

        +7)))))));

        今股价低

        值:=MIN(REF(L,1),MIN(REF(L,2),MIN(REF(L,3),MIN(REF(L,4),MIN(REF(L,5),MIN(REF(L,

        6),REF(L,7)))))));

        DIF现

        低:=MIN(REF(DIF,1),MIN(REF(DIF,2),MIN(REF(DIF,3),MIN(REF(DIF,4),MIN(REF(DIF,5),M

        IN(REF(DIF,6),REF(DIF,7)))))));

        底部背离:=IF(CROSS(DIF,DEA)AND今股价低值 前股价低值ANDDIF现低 DIF前

        低,100,0);

        信号1:=IF(底部背离=100ORREF(底部背离,1)=100ORREF(底部背离,2)=100ORREF(底部

        背离,3)=100ORREF(底部背离,4)=100ORREF(底部背离,5)=100

        ORREF(底部背离,6)=100ORREF(底部背离,7)=100,100,0);

        ZG:=HHV(H,60);

        ZD:=LLV(L,60);

        ZJ:=IF(M13 REF(M13,1)ANDREF(M13,1) =REF(M13,2)AND

        REF(M13,2) REF(M13,3),100,0);

        TJ:=IF(REF(L,1)=ZDANDZG/ZD 1.3,100,0);

        DD:=IF(REF(TJ,1)=100ORREF(TJ,2)=100ORREF(TJ,3)=100ORREF(TJ,4)=100OR

        REF(TJ,5)=100

        ORREF(TJ,6)=100ORREF(TJ,7)=100ORREF(TJ,8)=100ORREF(TJ,9)=100OR

        REF(TJ,10)=100OR

        REF(TJ,11)=100ORREF(TJ,12)=100ORREF(TJ,13)=100ORREF(TJ,14)=100OR

        REF(TJ,15)=100

        ORREF(TJ,16)=100ORREF(TJ,17)=100ORREF(TJ,18)=100ORREF(TJ,19)=100OR

        REF(TJ,20)=100,100,0);

        超跌:=IF(ZJ=100ANDDD=100ANDC M13,100,0);

        入场:=IF(超跌=100AND信号1=100,100,0);

        XG:入场=100;

        SZ12跟庄

        A01:=DYNAINFO(7);

        A03:=BARSCOUNT(CLOSE);

        A04:=(SMA((CLOSE/HHV(HIGH,120)),3,1)*100);

        A05:=IF((A03 20),A04,0);

        A06:=IF((LOW A01),0,IF((HIGH0)AND(A07 REF(A07,1)))AND(A05 =88)),A07,0);

        VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S

        MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

        VAR2:=EMA(VAR1,8);

        VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))

        /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

        趋势:=EMA(VAR3,3)-10;

        STICKLINE(趋势 80,趋势,80,5,0);

        DRAWICON(CROSS(趋势,0),0,1);

        STICKLINE((A09 0AND(趋势 20OR趋势 REF(趋势,1)AND趋势

        50)),0,A09,6,0),COLORFFFF00;

        建仓区:0,LINETHICK0,COLORFFFF00;

        VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;

        STICKLINE(趋势 =13,0,20,3,0),COLORCC9900;

        DRAWTEXT(FILTER(趋势 =13,15),30, 准备现金 ),COLORCC9900;

        STICKLINE(趋势 =13ANDVAR4 13,0,50,2,0),COLOR0099FF;

        VAR5:=FILTER((趋势 =13ANDVAR4 13),10);

        DRAWTEXT(VAR5,60, 买入 ),COLOR0099FF;

        STICKLINE(趋势 =90ANDVAR4,0,30,3,0),COLORGRAY;

        VAR6:=FILTER((趋势 =90ANDVAR4),10);

        DRAWTEXT(VAR6,40, 清仓 ),COLORGRAY;

        VAR7:=LLV(LOW,30);

        VAR8:=HHV(HIGH,30);

        VAR9:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*4,4)*25;

        STICKLINE(VAR9 90,100,105,3,2),COLORRED;

        VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100;

        DRAWTEXT(IF(CROSS(VAR9,VAR10)ANDVAR9 87,95,0),88, 险 ),COLOR00FF00;

        DRAWICON(CROSS(90,VAR9),95,9);

        VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;

        VAR12:=HHV(VAR11,30)*8;

        火焰山:EMA(IF(LOW =VAR7AND趋势

        40,(VAR11+VAR12),0),3)/618,COLORRED,LINETHICK2;

        STICKLINE(火焰山 0,0,火焰山*1.2,4,0),COLORRED;

        VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;

        VAR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;

        趋势线:趋势,COLORFF0000;

        VAR16:=MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;

        VAR17:=EMA(VAR16,5);

        峰:VAR17,STICK,COLORFF00FF;

        STICKLINE(VAR17 REF(VAR17,1),0,VAR17,1,0),COLOR00FF00;

        VAR18:=MA(趋势线,8);

        IF(CROSS(VAR2,VAR18)ANDVAR2 15,50,0),COLORRED;

        DRAWTEXT(CROSS(趋势线,VAR2)AND趋势线 REF(趋势线,1)AND趋势线 50,50, 追涨

        ),COLORFF00FF;

        风险区:IF(趋势 80,趋势,80),COLORFF00FF;

        SZ13波浪

        PL5:=ZIG(3,5);

        EN1:=ZIG(3,5) REF(ZIG(3,5),1)ANDREF(ZIG(3,5),1) =REF(ZIG(3,5),2)AND

        REF(ZIG(3,5),2) =REF(ZIG(3,5),3);

        EX1:=ZIG(3,5) REF(ZIG(3,5),1)ANDREF(ZIG(3,5),1) =REF(ZIG(3,5),2)AND

        REF(ZIG(3,5),2) =REF(ZIG(3,5),3);

        PL10:=ZIG(3,10);

        EN2:=ZIG(3,10) REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1) =REF(ZIG(3,10),2)AND

        REF(ZIG(3,10),2) =REF(ZIG(3,10),3);

        EX2:=ZIG(3,10) REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1) =REF(ZIG(3,10),2)AND

        REF(ZIG(3,10),2) =REF(ZIG(3,10),3);

        PL20:=ZIG(3,20);

        EN3:=ZIG(3,20) REF(ZIG(3,20),1)ANDREF(ZIG(3,20),1) =REF(ZIG(3,20),2)AND

        REF(ZIG(3,20),2) =REF(ZIG(3,20),3);

        EX3:=ZIG(3,20) REF(ZIG(3,20),1)ANDREF(ZIG(3,20),1) =REF(ZIG(3,20),2)AND

        REF(ZIG(3,20),2) =REF(ZIG(3,20),3);

        PL40:=ZIG(3,40);

        走强1:=BARSLAST(PL5 REF(PL5,1));

        走弱1:=BARSLAST(PL5 REF(PL5,1));

        走强2:=BARSLAST(PL10 REF(PL10,1));

        走弱2:=BARSLAST(PL10 REF(PL10,1));

        走强3:=BARSLAST(PL20 REF(PL20,1));

        走弱3:=BARSLAST(PL20 REF(PL20,1));

        ZTJZ5:=IF(PL10 REF(PL10,1),COUNT(EN1,走强2),0);

        ZTJD5:=IF(PL10 REF(PL10,1),COUNT(EX1,走强2),0);

        DTJZ5:=IF(PL10 REF(PL10,1),COUNT(EN1,走弱2),0);

        DTJD5:=IF(PL10 REF(PL10,1),COUNT(EX1,走弱2),0);

        ZTJZ10:=IF(PL20 REF(PL20,1),COUNT(EN2,走强3),0);

        ZTJD10:=IF(PL20 REF(PL20,1),COUNT(EX2,走强3),0);

        DTJZ10:=IF(PL20 REF(PL20,1),COUNT(EN2,走弱3),0);

        DTJD10:=IF(PL20 REF(PL20,1),COUNT(EX2,走弱3),0);

        TJ11:=EN2ANDZTJZ5=1;

        TJ22:=EN1ANDPL10 REF(PL10,1)ANDZTJZ5=2;

        TJ33:=EN2ANDDTJZ10=1;

        TJ44:=EN3ANDZTJZ10=1;

        TJ55:=EN2ANDPL20 REF(PL20,1)ANDZTJZ10=2;

        XG22:=TJ11ORTJ22ORTJ33ORTJ44ORTJ55;

        SZ14老鼠仓

        AA1:=AMOUNT/V;

        BB1:=L1.2;

        DD1:=L MA(C,5)*0.921;

        EE1:=V MA(V,5)*1.5;

        FF1:=BB1ANDCC1ANDDD1ANDEE1;

        DRAWTEXT(FF1,(LOW*0.97), 老鼠仓 ),COLOR4080FF;

        SZ250

        HDY:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

        HDY

        SZ20逃跑

        V1:=MA(C,5)=HHV(MA(C,5),20);

        V2:=MA(C,5) MA(C,10);

        V3:=MA(V,5) MA(V,40)*1.01;

        V4:=COUNT(MA(C,1) REF(C,1),2)=2;

        收盘价:IF(V1ANDV2ANDV3ANDV4,50,0),LINETHICK2,COLORBLUE;

        DRAWTEXT(收盘价逃顶,80, 收盘价逃顶 ),COLOR000999;

        SZ21总金额

        总亿:AMOUNT/100000000,COLORFF00FF,NODRAW;

        VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

        流入

        亿:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE

        -LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;

        流出

        亿:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(

        HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;

        额亿:流入亿+流出亿,COLORFFFF00,NODRAW;

        {线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}

        YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;

        {量:(线),VOLSTICK;}

        分界:0;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR0D0C6A;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR0D06AA;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.5,0)COLOR2108C1;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR9F5DFF;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR22736F;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR22AAD5;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.5,0)COLOR10C7BF;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR80FFFF;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.5,0)COLOR08D306;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR40FF00;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR080E71;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR0B0E8C;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.52,0)COLOR0905B0;

        STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR0204F2;

        DRAWTEXT(CROSS(0,YUWEI),0, 空

        DRAWTEXT(CROSS(YUWEI,0),0, 买

        SZ钓鱼

        RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

        K:=SMA(RSV,9,1);

        D:=SMA(K,3,1);

        趋势J1:=3*K-2*D,COLORRED;

        趋势J2:=EMA(K,3),LINETHICK1;

        BBIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

        反弹:=IF(CROSS(K,D)ANDBBIAS -6ANDD 16AND

        CLOSE REF(CLOSE,1),80,0),COLOR00FF00;

        DRAWICON(反弹=80,趋势J2-0.005,1);

        阶段底:=EMA(IF(L =

        LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,CO

        LORRED,LINETHICK2;

        V1:=AMOUNT/VOL/100;

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

        V3:=SUM(AMOUNT,7)/V1/100;

        V4:=DMA(V2,VOL/V3);

        V5:=(CLOSE-V4)/V4*100;

        V6:=MA(V5,20)+STD(V5,20);

        BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

        水面:=20;

        买入:=IF(趋势J1 30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;

        买入2:=CROSS(买入,趋势J2);

        狮子钓鱼:IF(买入2 0.5,80,0)COLORRED;

        DRAWTEXT(买入2,80, 钓 )COLORRED;

        DRAWTEXT(买入2,70, 鱼 )COLORRED;

        STICKLINE(买入2,50,0,10,0);

        DY2

        NF:(C+REF(C,1)+REF(C,2)+H+REF(H,1)+REF(H,2)+L+REF(L,1)+REF(L,2)+O+

        REF(O,1)+REF(O,2))/12,LINETHICK2,COLORLICYAN;

        MA5:=MA(CLOSE,5);

        MA10:=MA(CLOSE,10);

        保护价:(REF(CLOSE,2)+REF(CLOSE,1)+O)/3;

        N:=75;P:=5;P1:=10;

        A1:=REF(H,P)=HHV(H,2*P+1);

        B1:=FILTER(A1,P);

        C1:=BACKSET(B1,P+1);

        D1:=FILTER(C1,P);

        E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);

        F1:=E1 REF(E1,1);

        短压:DRAWLINE(D1,H,F1,H,1),COLORCYAN;

        A2:=REF(L,P)=LLV(L,2*P+1);

        B2:=FILTER(A2,P);

        C2:=BACKSET(B2,P+1);

        D2:=FILTER(C2,P);

        E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

        F2:=E2 REF(E2,1);

        短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;

        AA1:=REF(H,P1)=HHV(H,2*P1+1);

        BB1:=FILTER(AA1,P1);

        CC1:=BACKSET(BB1,P1+1);

        DD1:=FILTER(CC1,P1);

        EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);

        FF1:=EE1 REF(EE1,1);

        长压:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;

        AA2:=REF(L,P1)=LLV(L,2*P1+1);

        BB2:=FILTER(AA2,P1);

        CC2:=BACKSET(BB2,P1+1);

        DD2:=FILTER(CC2,P1);

        EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);

        FF2:=EE2 REF(EE2,1);

        长支:DRAWLINE(DD2,L,FF2,L,1),COLORRED;

        SZDK

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

        VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+

        15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+1

        0*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5

        *REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;

        VAR4:=MA(VAR3,13);

        VAR5:=EMA(MA(CLOSE,3),34);

        VAR6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

        VAR7:=MA(VAR6,5);

        VAR8:=MA(VAR6,10);

        〖空头市场〗:

        STICKLINE(IF(VAR3 VAR5,VAR3 =1.015*VAR4,VAR3 =1.005*VAR4),VAR3,VAR4,10,1),,

        COLOR006600;

        〖多头市场〗:STICKLINE(VAR3 1.005*VAR4,VAR3,VAR4,10,1),,COLOR003366;

        『脑电波上升』:DRAWTEXT(FILTER(MA(VAR6,10) VAR7,1),VAR8, ↑ ),,COLORRED;

        『脑电波下跌』:DRAWTEXT(FILTER(MA(VAR6,10) =VAR6,1),VAR8, ↓ ),,

        COLORGREEN;

        『多空安全线』:VAR5,,COLORWHITE;

        〖关注点〗:STICKLINE(COUNT(VAR3 1.005*VAR4ANDVAR3 =REF(VAR3,1),2)=2OR

        COUNT(IF(VAR3 VAR5,VAR3 =1.015*VAR4,VAR3 =1.005*VAR4)AND

        VAR3 =REF(VAR3,1),2)=2,VAR3,VAR4,10,0),,COLORYELLOW;

        ★买入点:DRAWTEXT(REF(CROSS(VAR3,VAR4),2)ANDVAR3 1.005*VAR4,VAR4, ★买

        入点 ),,COLOR999966;

        『多空争夺点』:DRAWTEXT(CROSS(VAR6,VAR7)ANDVAR7 VAR8,VAR3*0.99, ▲ ),,

        COLORBLUE;DRAWTEXT(CROSS(VAR7,VAR6)ANDVAR7 VAR8,VAR3*1.01, ▼ ),,

        COLORBLUE;

        VAR9:=1/WINNER(CLOSE);

        VARA:=MA(CLOSE,13);

        VARB:=100-ABS((CLOSE-VARA)/VARA*100);

        VARC:=LLV(LOW,75);

        VARD:=HHV(HIGH,75);

        VARE:=(VARD-VARC)/100;

        VARF:=SMA((CLOSE-VARC)/VARE,20,1);

        VAR10:=SMA((OPEN-VARC)/VARE,20,1);

        VAR11:=3*VARF-2*SMA(VARF,15,1);

        VAR12:=3*VAR10-2*SMA(VAR10,15,1);

        VAR13:=100-VAR12;

        VAR14:=100-VAR11;

        VAR15:=MA(WINNER(CLOSE*0.95)*100,3);

        VAR16:=100-IF(VAR9 5,IF(VAR9 100,VAR9,VARB-10),0);

        VAR17:=VAR15 VARB;

        VAR18:=REF(LOW,1)*0.9;

        VAR19:=LOW*0.9;

        VAR1A:=(VAR19*VOL+VAR18*(CAPITAL-VOL))/CAPITAL;

        VAR1B:=EMA(VAR1A,30);VAR1C:=CLOSE-REF(CLOSE,1);

        VAR1D:=MAX(VAR1C,0);

        VAR1E:=ABS(VAR1C);

        VAR1F:=SMA(VAR1D,7,1)/SMA(VAR1E,7,1)*100;

        VAR20:=SMA(VAR1D,13,1)/SMA(VAR1E,13,1)*100;

        VAR21:=BARSCOUNT(CLOSE);

        VAR22:=SMA(MAX(VAR1C,0),6,1)/SMA(ABS(VAR1C),6,1)*100;

        VAR23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

        VAR24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

        VAR25:=SMA((SMA(VAR24,4,1)-50)*2,3,1);

        VAR26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

        VAR27:=SMA(VAR26,4,1);

        VAR28:=SMA(VAR27,3,1);

        VAR29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

        VAR2A:=VAR22 =25ANDVAR23 -95ANDVAR29 20ANDVAR25 -30ANDVAR28 30

        ANDVAR1B-CLOSE =-0.25ANDVAR1F 22ANDVAR20 28AND

        VAR21 DRAWTEXT(CROSS(VAR2A,0.5)ANDCOUNT(VAR2A=1,10)=1,VAR4, 发射资

        金♂(超短线操作) ),,COLORRED;

        DRAWTEXT(CROSS(VAR17,0.5)ANDCOUNT(VAR17=1,10)=1,VAR3, 激烈交锋

        公式

        DTP

        A1:=REF(CLOSE,2) REF(OPEN,2)ANDREF(CLOSE,1) REF(OPEN,1)AND

        CLOSE OPEN;{三日均线描述}

        A2:=REF(C,2)/REF(O,2) 1.03;{前天的涨幅大于3%}

        A3:=REF(H,1)/REF(L,1) 1.03;{昨振幅大于3%}

        A4:=C/REF(C,1) 1.03;{今天涨幅大于3%}

        A5:=REF(C,1)/REF(C,2) 1.01ANDREF(O,1)/REF(C,2) 1.01;{昨天阴线开盘及收盘价均在前

        日收盘价1.01以内}

        A6:=REF(C,1) REF(O,2);{昨天阴线收盘要大于前日开盘价}

        A7:=C REF(O,1);{今日收盘价大于昨日的开盘价}

        A8:=A1ANDA2ANDA3ANDA4ANDA5ANDA6ANDA7;

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

        K:=SMA(RSV,3,1);

        D:=SMA(K,3,1);

        J:=3*K-2*D;

        多方炮:A8ANDJ

        双信号

        FF:=EMA(CLOSE,3);

        MA15:=EMA(CLOSE,21);

        TTJ:=CROSS(FF,MA15);

        上:=EMA(C,3),COLORBLUE,LINETHICK1;

        中:=EMA(C,5),COLORWHITE,LINETHICK1;

        下:=EMA(中,5),COLOR00FF00,LINETHICK1;

        QQ:=C

        MM:=上 REF(上,1)ANDREF(上,1) REF(上,2);

        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);

        MA1:=MEMA(CLOSE,5);

        MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;

        MA3:=IF(MA2 0,MA2,MA2);

        MA5:=MA(CLOSE,5),COLOR888899;

        MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;

        VAR01:=CLOSE=HHV(C,4)AND(REF(C,1) =REF(C,2)ORREF(C,1) =REF(C,3))

        ORREF(C,1)=HHV(C,4)ANDCLOSE =REF(C,2)ORREF(C,2)=HHV(C,4)AND

        REF(C,3)=LLV(C,4)ANDC =REF(C,1)ORREF(C,3)=HHV(C,4)AND

        C =REF(C,1)ANDC =REF(C,2);

        {收盘价=4日内收盘价的最高值AND昨收 =2日前的收盘价}

        VAR02:=CLOSE=HHV(C,4)ANDREF(C,1)=LLV(C,4);

        {收盘价=4日内收盘价的最高值AND昨收=4日内收盘价的最低值}

        VAR03:=CLOSE=LLV(C,4)AND(REF(C,1) REF(C,2)ORREF(C,1) REF(C,3))OR

        REF(C,1)=LLV(C,4)ANDC REF(C,2)ORREF(C,2)=LLV(C,4)AND

        REF(C,1)=HHV(C,4)ANDC REF(C,1)ORREF(C,3)=LLV(C,4)AND

        C REF(C,1)ANDC REF(C,2);

        {收盘价=4日内收盘价的最低值AND(昨收 2日前的收盘价}

        VAR04:=REF(C,1)=LLV(C,4)ANDC =REF(C,2)ORREF(C,2)=LLV(C,4)AND

        REF(C,1) =REF(C,3)ANDREF(C,2) REF(C,4)ANDC =REF(C,1);

        {昨收=4日内收盘价的最低值AND收盘价 =2日前的收盘价}

        VAR05:=REF(C,1)=HHV(C,4)ANDC REF(C,2)OR(REF(C,2)=HHV(C,4)AND

        REF(C,1) REF(C,3)ORREF(C,3)=HHV(C,4)ANDREF(C,1) REF(C,2))AND

        REF(C,2) =REF(C,4)ANDC REF(C,1);

        {昨收=4日内收盘价的最高值AND收盘价 2日前的收盘价}

        VAR06:=V5 REF(V5,1)ANDREF(V5,1) REF(V5,2);

        {今日V5向上形成拐点}

        VAR07:=LOW HHV(V5,13)ANDHIGH HHV(V5,13)ANDCLOSE REF(C,1)AND

        CLOSE OPEN;

        VAR08:=VAR07ANDCOUNT(VAR06,2);

        VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);

        VAR10:=EMA(MA(C,13),13);

        VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7)ANDCOUNT(VAR09 0,2)AND

        CROSS(VAR09,MA(VAR09,2)))=1,5);

        VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7)ANDCOUNT(VAR09 50,2)AND

        CROSS(MA(VAR09,2),VAR09))=1,1);

        VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

        VAR14:=FILTER(((CROSS(VAR13,0)ORCROSS(C,VAR10))ANDVAR11)=1,3);

        VAR15:=MA(C,18) =REF(MA(C,18),3)ANDCROSS(C,MA(C,18));

        VAR16:=VAR08ANDNOT(REF(VAR08,1));

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

        K:=SMA(RSV,3,1);

        D:=SMA(K,3,1);

        J:=3*K-2*D;

        金叉:=CROSS(J,D);

        死叉:=CROSS(D,J);

        买1:=(VAR14ORVAR15)ANDVAR11;

        买2:=(VAR14ORVAR15)ANDVAR04;

        买3:=(VAR14ORVAR15)ANDVAR02;

        买4:=(VAR02ANDVAR11)OR(VAR04ANDVAR11);

        买5:=(金叉ANDVAR04)OR(金叉ANDVAR02)OR(金叉ANDVAR11);

        TTJ0:=VAR16;

        TTJ1:=买1OR买2OR买3OR买4OR买5ANDMM;

        XG0:=TTJANDTTJ0;

        XG1:=TTJANDTTJ1;

        XG11:=XG0ORXG1;

        SZ

        ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

        ZHENGYI 45ANDDYNAINFO(4)

        SZ2

        ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

        ZHENGYI 80ANDDYNAINFO(4)

        SZ10

        ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

        ZHENGYI 10ANDDYNAINFO(4)

        SZZZZ

        RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

        K:=SMA(RSV,9,1);

        D:=SMA(K,3,1);

        趋势J1:=3*K-2*D,COLORRED;

        趋势J2:=EMA(K,3),LINETHICK1;

        BBIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

        反弹:=IF(CROSS(K,D)ANDBBIAS -6ANDD 16AND

        CLOSE REF(CLOSE,1),80,0),COLOR00FF00;

        DRAWICON(反弹=80,趋势J2-0.005,1);

        阶段底:=EMA(IF(L =

        LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10;

        V1:=AMOUNT/VOL/100;

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

        V3:=SUM(AMOUNT,7)/V1/100;

        V4:=DMA(V2,VOL/V3);

        V5:=(CLOSE-V4)/V4*100;

        V6:=MA(V5,20)+STD(V5,20);

        BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

        水面:=20;

        买人:=IF(趋势J1 30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;

        SZ1111

        RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

        K:=SMA(RSV,9,1);

        D:=SMA(K,3,1);

        趋势J1:=3*K-2*D,COLORRED;

        趋势J2:=EMA(K,3),LINETHICK1;

        BBIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

        反弹:=IF(CROSS(K,D)ANDBBIAS -6ANDD 16AND

        CLOSE REF(CLOSE,1),80,0),COLOR00FF00;

        DRAWICON(反弹=80,趋势J2-0.005,1);

        阶段底:=EMA(IF(L =

        LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10;

        V1:=AMOUNT/VOL/100;

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

        V3:=SUM(AMOUNT,7)/V1/100;

        V4:=DMA(V2,VOL/V3);

        V5:=(CLOSE-V4)/V4*100;

        V6:=MA(V5,20)+STD(V5,20);

        BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

        水面:=20;

        买人:=IF(趋势J1 30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;

        买人2:=CROSS(买人,趋势J2);

        SZ3

        ZHENGYI:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

        ZHENGYI 45ANDDYNAINFO(4)

        顶背离

        DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

        DEA:=EMA(DIFF,9);

        MACD:=2*(DIFF-DEA);

        A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

        顶背离:REF(CLOSE,A2+1) CLOSEANDREF(DIFF,A2+1) DIFFANDCROSS(DEA,DIFF);

        底背离

        DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

        DEA:=EMA(DIFF,9);

        MACD:=2*(DIFF-DEA);

        A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

        底背离:REF(CLOSE,A1+1) CLOSEANDDIFF REF(DIFF,A1+1)ANDCROSS(DIFF,DEA);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信公式指标大全 通达信指标 加入收藏