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

    正文概述    2024-04-14 17:55:15  

    {蓄势待发}
    V0:=EMA(C,5);
    EMA10:=EMA(C,10);
    EMA20:=EMA(C,20);
    EMA30:=EMA(C,30);
    EMA60:=EMA(C,60);
    M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;
    M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;
    M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;
    M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);
    M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);
    T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;
    T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;
    T3:=T1 AND T2 AND CROSS(V0,EMA10);
    T4:=T1 AND T2 AND CROSS(V0,EMA30);
    M4 OR M5 OR T3 OR T4;

     

    ======================================================

    {四线粘合}
    V0:=EMA(C,5);
    V1:=EMA(C,10);
    V2:=EMA(C,15);
    V3:=EMA(C,30);
    V4:=EMA(C,60);
    M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;
    M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;
    M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;
    M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);
    M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);
    M4 OR M5;
     

     

    ======================================================

    {底部构成}
    ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
    M1:=EMA(ABV,12);
    M2:=EMA(ABV,26);
    MTGJ:=C-REF(C,1);
    ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);
    MAZL:=MA(ZLGJ,5);
    V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
    V2:=REF(V1,1);
    V3:=MAX(V1-V2,0);
    V4:=ABS(V1-V2);
    V5:=SMA(V3,10,1);
    V6:=SMA(V4,10,1);
    V8:=COUNT(((V5)/(V6)<0.2),5);
    V9:=COUNT((LLV(V1,10)=V1),10);
    底部构成:V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1) AND ABV>M2 AND ZLGJ>MAZL;
     

     

    ======================================================

    {拉升在即}
    ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
    M1:=EMA(ABV,12);
    M2:=EMA(ABV,26);
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
    MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
    MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
    A:=((VOL)/(CAPITAL))*(100);
    S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
    Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
    X:=1;
    拉升在即:SMML AND ABV>M1 AND CROSS(S,Y);

    ======================================================

    {主力轨迹}
    ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
    M1:=EMA(ABV,12);
    M2:=EMA(ABV,26);
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
    MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
    MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
    MTGJ:=C-REF(C,1);
    ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);
    MAZL:=MA(ZLGJ,5);
    主力轨迹:ABV>M2 AND MMS>MML AND CROSS(ZLGJ,MAZL) AND ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1);

     

    ======================================================

    {短中精}
    ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
    M1:=EMA(ABV,12);
    M2:=EMA(ABV,26);
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
    MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
    MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
    MTGJ:=C-REF(C,1);
    ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);
    MAZL:=MA(ZLGJ,5);
    V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
    V2:=REF(V1,1);
    V3:=MAX(V1-V2,0);
    V4:=ABS(V1-V2);
    V5:=SMA(V3,10,1);
    V6:=SMA(V4,10,1);
    V8:=COUNT(((V5)/(V6)<0.2),5);
    V9:=COUNT((LLV(V1,10)=V1),10);
    精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);
    短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);
    中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);
    主进主买:=ABV>M2 AND ZLGJ>MAZL AND CROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);
    短中精:精准买卖 OR 短线买点 OR 中线买点 OR 主进主买;

     

    ======================================================

    {主力进出}
    ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
    M1:=EMA(ABV,12);
    M2:=EMA(ABV,26);
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
    MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
    MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
    MTGJ:=C-REF(C,1);
    ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);
    MAZL:=MA(ZLGJ,5);
    主力进出:=MMS>REF(MMS,1) AND ZLGJ>REF(ZLGJ,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1);
    主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);
    主力进出 OR 主进主轨;

     

     

    ======================================================

    {底部选股}

    TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
    HD:=(HIGH - REF(HIGH,1));
    LD:=(REF(LOW,1) - LOW);
    DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
    DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
    神偷线:=(((DMP ) * 100) / TR);
    辅助线:=((DMM * 100) / TR);
    动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
    动向趋势线 > 88  AND  神偷线 < 5.8;

     

    ======================================================

    {银边启动}

    GJTJ13:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    GJTJ23:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ33:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ43:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    A2:=GJTJ33=100;
    B3:=GJTJ43<90;
    银边启动:COUNT(A2,2) = 2 AND B3;

     

    ======================================================

    {启动蓝三角}

    GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ12:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    GJTJ22:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ32:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ42:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    A1:=BARSLAST(CROSS(95,GJTJ12))<=2;
    B2:=BARSLAST(CROSS(95,GJTJ22))<=2;
    E1:= GJTJ42
    F1:=GJTJ22>50 AND GJTJ32>50;
    G:=GJTJ12=100 AND GJTJ22=100;
    TX:=COUNT(G,2)=1;
    启动蓝三角:A1 AND B2 AND E1 AND F1 AND TX;

     

    ======================================================

    {中线黄金坑}

    GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ11:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    GJTJ21:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ31:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ41:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    A:=BARSLAST(CROSS(GJTJ41,GJTJ11))>3 AND BARSLAST(CROSS(GJTJ11,GJTJ41))<3;
    B:=BARSLAST(CROSS(GJTJ41,GJTJ21));
    D:=GJTJ3
    E:=BARSLAST(CROSS(GJTJ41,GJTJ31))>3 AND BARSLAST(CROSS(GJTJ11,GJTJ41))<3;
    F:=GJTJ21
    B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;
    中线黄金坑:A AND B AND D AND E AND F;

     

    ======================================================

    {金三角}


    GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5  AND GJTJ1>GJTJ4;
    金三角:COUNT(XG,3)=1 AND XG;

     

    ======================================================

    {绝杀选股}

    VAR1:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) -
    ((CLOSE + LOW)/(2))*(0.1);
    VAR2:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1)*(5) > 0),(POW((EMA((CLOSE +
    LOW)/(2),3) - VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) -
    VAR1)*(5),2)))/(10));
    VAR3:=IF((VAR2 > 0),VAR2 - 0,(-1));
    B:CROSS(VAR3,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE +
    LOW)/(2),8));

     

    ======================================================

    {敢死队_选股}

    R1:=150*WINNER(CLOSE*0.95);
    VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
    VAR4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
    VAR5:=EMA(CLOSE,2)-EMA(CLOSE,120);
    VAR6:=EMA(VAR5,68);
    VAR7:=(VAR5+VAR6);
    敢死:=POW(VAR7,3)*0.1+POW(VAR7,1);
    核心:=MA(敢死,30);
    涨停:=1;
    警:=涨停*核心/5;
    Y:=MA(警,6);
    Y1:=警-Y;
    G:=C>=INTPART(REF(C ,1 )*1.08*100+0.5)/100;
    G1:=G*核心/5;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=(SMA(RSV,3,1));
    D:=(SMA(K,3,1));
    KK:=INTPART(SMA(RSV,3,1));
    DD:=INTPART(SMA(K,3,1));
    N:=KK+DD;
    涨停信号:=ABS((10000*(C-REF(C,1))/REF(C,1)>995)*G1);
    选股:CROSS(N,100) OR 涨停信号>0;
     

     

    ======================================================

    {操盘圣手选股}

    VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
    VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
    VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
    选股:CROSS(VAR2,MA(VAR3,6));

     

    ======================================================

    {招财猫买}
    Z1:=MA(C,13);
    ZX:=REF(Z1,13/2+1);
    选股:CROSS(C,ZX) AND VOL>0;

     

     

    ======================================================

    {突破在即}

    W1:=C=HHV(C,20);
    W2:=BARSLAST(W1);
    W3:=IF(W2>0,REF(C,W2),REF(C,W2));
    W4:=CROSS(C,REF(W3,1));
    突破在即:W4 AND COUNT(W4,5)=1;
     

     

    ======================================================

    {肉夹馍选股}

    XG:REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)OPEN;

     

    ======================================================

    {三线制胜法}

    TYP:=(HIGH+LOW+CLOSE)/3;
    CCI:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
    M2:=MA(CLOSE,30);
    M1:=EXPMA(CLOSE,7);
    X:(CCI>100 OR CROSS(CCI,100)) AND CLOSE>M1 AND M1>M2;

     

    ======================================================

    {底背离}


    KDJ_K:="KDJ.K"(9,3,3);KDJ_D:="KDJ.D"(9,3,3);KDJ_J:="KDJ.J"(9,3,3);
    买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26);
    买2:=CROSS("RSI.RSI1"(6,2,2),20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
    买3:=CROSS("MACD.DIF","MACD.DEA") OR CROSS("MACD.MACD",0);
    买0:=买1+买2+买3;
    买:IF(买0>1,买0,0);
     

     

    ======================================================



    上一篇:通达信1选股指标(06)    下一篇:通达信1选股指标(04)


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信1选股指标(05) 加入收藏