最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信扭转乾坤副图指标 适合短线追涨 源码分享 附图

    正文概述    2024-04-14 19:59:44  
    MA6:=MA(CLOSE,6),COLORRED;
    MA5:=MA(CLOSE,5);
    MA14:=EMA(MEMA(CLOSE,14),14),COLORGREEN;
    MA84:=EMA(MEMA(CLOSE,84),84),COLORF00FF0;
    MA10:=MA(CLOSE,10);
    MA13:=MA(CLOSE,13);
    MA20:=MA(CLOSE,20);
    MA30:=MA(CLOSE,30);
    MA64:=MA(CLOSE,54);
    MA60:=MA(CLOSE,60),COLOR00FF99,LINETHICK2;
    MA120:=MA(CLOSE,120);
    MA250:=MA(CLOSE,250);
    HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
    HJ_9:=FILTER(HJ_8,10);
    HJ_10:=BARSLAST(HJ_9);
    HJ_11:=REF(HIGH,HJ_10+2);
    HJ_12:=REF(HIGH,HJ_10+1);
    HJ_13:=REF(HIGH,HJ_10);
    HJ_14:=MAX(HJ_11,HJ_12);
    HJ_15:=MAX(HJ_14,HJ_13);
    HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
    HJ_17:=HJ_10<150;
    HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;
    HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;
    HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
    HJ_21:=VOL/MA(VOL,5)<3.5;
    HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
    HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;

    大涨:=FILTER(HJ_25,15);
    PL1:=(((CLOSE-MA64)/MA64)<0.1);
    PL2:=(((CLOSE-MA10)/MA10)<0.3);
    偏离率:=(((PL1=1) AND (PL2=1))*0.2);
    平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
    妖股突破:=平台突破=-0.1;
    XDF:=大涨 OR 妖股突破;
    VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
    VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
    FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
    妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA;
    工作线:=MA("KDJ.J#WEEK"(9,3,3),5);
    加仓:=CROSS(工作线,50),COLORYELLOW;
    VAR1:=工作线,COLORRED;
    持股:=IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
    {股海必买}
    ZZAA1:=C ZZAA2:=C>O AND C ZZBB1:=REF(ZZAA1,1) AND C>REF(O,1);
    ZZBB2:=REF(ZZAA2,1) AND C>REF(C,1);
    BM:=ZZBB1 OR ZZBB2;
    T:=BARSLAST(妖股);
    必买:=T>=1 AND T<=20 AND BM ;
    TJ1:=C/REF(C,1)*100-100;
    TJ2:=TJ1>6;
    TJ3:=MAX(C,O)/MIN(C,O)*100-100;
    TJ4:=TJ3<5;
    TJ5:=BARSLASTCOUNT(TJ4);
    TJ6:=TJ5>=2 AND TJ5<=4;
    TJ7:=REF(TJ6,1) AND TJ2;
    TJ8:=REF(TJ2,1) AND TJ4;
    TJ9:=BARSLAST(TJ8);
    TJ10:=TJ9<8;
    AA:=C/REF(C,1)>1.095 AND H=O AND L=H;
    上升三法:=REF(TJ6,1) AND TJ1>2 AND TJ10 AND NOT(AA);

    A:=AMOUNT/V/100;
    VARAB:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
    QQ:=EMA(((VARAB/10)+EMA(A,13)),0);
    行情线:=MA(A,1);
    重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
    操盘线:=EMA(((SLOPE(C,22)*20)+C),55),COLORWHITE,LINETHICK2;
    黄金线:=IF(重心>=操盘线,操盘线,DRAWNULL),COLORYELLOW,LINETHICK2;
    空仓线:=IF(重心<操盘线,操盘线,DRAWNULL),COLORCYAN,LINETHICK2;
    钱袋子:=C>REF(C,1) AND MA(C,3)>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,10)>黄金线 AND MA(C,20)<黄金线;
    A1:=IF(C>=MA5,1,-1);
    A2:=IF(C>=MA10,1,-1);
    A3:=IF(C>=MA20,1,-1);
    A4:=IF(MA5>=REF(MA5,1),1,-1);
    A5:=IF(MA10>=REF(MA10,1),1,-1);
    A6:=IF(MA20>=REF(MA20,1),1,-1);
    趋势:=(A1+A2+A3+A4+A5+A6)/6*100;
    BB1:=趋势<-98 AND C/REF(C,1)>1.0042 AND REF(C,1) BB2:=CROSS(趋势,0) AND C/REF(C,1)>1.0042;
    主升浪:=趋势>=50;
    AA1:=(CLOSE*2+HIGH+LOW)/4*10;
    AA2:=EMA(AA1,13)-EMA(AA1,34);
    AA3:=EMA(AA2,5);
    AA4:=2*(AA2-AA3)*5.5;

    主力线:=AA4;
    必涨停:=(H-REF(C,1))/REF(C,1)*100;
    强势必涨:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND 必涨停>=4.945;
    涨停:=C=ZTPRICE(REF(C,1),0.1) OR 强势必涨 ;
    预警指标:=HHV(VOL,10);
    小牛起飞:=BARSLAST(预警指标=VOL);
    强牛起飞:=CROSS(C,REF(C,小牛起飞)) AND 涨停 AND NOT(DYNAINFO(4)=0);
    突破前位:=主力线>=强牛起飞;

    RSV:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
    K:=SMA(RSV,21,1);
    D:=SMA(K,5,1);
    J:=3*K-2*D;
    KDJUP:=J>=K AND K>=D;

    主升浪B:=趋势>=50 AND REF(趋势,1)<50 AND 突破前位 AND 主力线>=REF(主力线,1) AND KDJUP AND MA5>MA10 ;

    VXGA:=偏离率=0 AND REF(偏离率,1)=0.2 AND REF((COUNT((偏离率=0.2),10)=10),1);
    FLS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,6),2.1*FORCAST(V,6));
    小妖:=FILTER(FLS,14);
    FABC10:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,10))/EMA(CLOSE,10));
    FABC11:=DMA(((2.15*CLOSE+LOW+HIGH)/4),FABC10);
    金线王:=EMA(FABC11,5)*1;
    金线王2:=EMA(FABC11,200)*1.118;
    条件:=(C-REF(C,1))/REF(C,1)*100>8;
    成妖:=CROSS(C,金线王) AND 条件;
    VXGB:=小妖 AND 成妖;
    XGG1:=VXGA AND 成妖;
    XGG2:=VXGA AND VXGB;
    牛妖:=XGG1 OR XGG2;
    起飞:=VXGB AND NOT(牛妖);

    V11:=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(V11,3);
    加速上涨:=趋势线>89;

    XG1:=必买 AND 上升三法 AND CMA6 AND MA84>MA14 AND MA14>MA6 AND 主升浪B;
    XG2:=必买 AND 上升三法 AND (钱袋子 OR 加速上涨);
    XG3:=XDF AND 加仓 AND 上升三法;
    TJA:=CODELIKE('00') OR CODELIKE('60');
    TJE:=CODELIKE('30');
    TJB:=CROSS(MA(C,5),MA(C,10)) AND REF(大涨,1) AND 主升浪 AND MA(C,10)>黄金线 AND 黄金线 AND MA(C,10)>MA(C,20);
    CBAA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
    CBAAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
    VXG2:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND CBAAA;
    TJC:=REF((BB2 AND 大涨 AND 主升浪),1) AND 主升浪 AND TJB;
    XG4:=必买 AND 上升三法 AND 持股<100 AND CMA5 AND MA84>MA14 AND MA14>MA5 AND L<操盘线 AND 小牛起飞;
    XG5:=BB1 AND 大涨;
    XG6:=大涨 AND 加仓 AND 持股<100 AND 持股>50 AND CMA6;

    FXG2:=XG4 OR XG5 OR XG6;{收益高}
    ZG4:=主升浪B AND 上升三法 AND 小牛起飞;
    ZT1:=C=ZTPRICE(REF(C,1),0.1) OR (NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND (H-REF(C,1))/REF(C,1)*100>=4.945;
    ZT2:=C=ZTPRICE(REF(C,1),0.2);
    ZT:=ZT1 OR ZT2;
    BZT:=NOT(ZT);
    NDZT:=(XG1 OR FXG2 OR ZG4 ) AND BZT;


    STICKLINE(NDZT,1.6,2.2,0,0),COLORWHITE;
    STICKLINE(NDZT,0.8,1.6,2,0),COLORRED;
    STICKLINE(NDZT,0,0.8,2,0),COLORBLUE;
    DRAWTEXT(NDZT,0.8,' ←扭转乾坤'),COLORYELLOW;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信扭转乾坤副图指标 适合短线追涨 源码分享 附图 加入收藏