• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信主图买点无未来图比较简单地未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-09-15|栏目:通达信公式

    {智能辅助线}
    HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
    HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
    +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
    +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
    REF(HHJSJDA,20))/210,COLORBLUE;
    HHJSJDC:ma(HHJSJDB,5),COLORWHITE;
    {流量幅和行业板块}
    总额:=AMOUNT;
    买1:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-Abs(O-C))*(C-L));
    买%:=买1/AMOUNT*100;
    流入1:=AMOUNT*买%/10000000000;
    流出1:=AMOUNT/100000000-流入1;
    净流:=(流入1-流出1);
    总额3:=SUM(AMOUNT,3);
    流入3:=SUM(流入1,3);
    流出3:=SUM(流出1,3);
    净流3:=SUM(流入1-流出1,3);
    总额5:=SUM(AMOUNT,5);
    流入5:=SUM(流入1,5);
    流出5:=SUM(流出1,5);
    净流5:=SUM(流入1-流出1,5);
    总额10:=SUM(AMOUNT,10);
    流入10:=SUM(流入1,10);
    流出10:=SUM(流出1,10);
    净流10:=SUM(流入1-流出1,10);
    画:=CONST(FINDHIGH(总额10,0,190,1));
    DRAWTEXT_FIX(1,0.11,0.12,0,'净流(亿):'),COLOR8080FF,LINETHICK1;
    DRAWTEXT_FIX(1,0.18,0.1,0,'1日'),COLOR8080FF,LINETHICK1;
    DRAWTEXT_FIX(1,0.23,0.1,0,'3日'),COLOR8080FF,LINETHICK1;
    DRAWTEXT_FIX(1,0.28,0.1,0,'5日'),COLOR8080FF,LINETHICK1;
    DRAWTEXT_FIX(1,0.33,0.1,0,'10日'),COLOR8080FF,LINETHICK1;
    DRAWNUMBER_FIX(1,0.18,0.15,0,CONST((净流))),COLORBLUE;
    DRAWNUMBER_FIX(1,0.23,0.15,0,CONST((净流3))),COLORBLUE;
    DRAWNUMBER_FIX(1,0.28,0.15,0,CONST((净流5))),COLORBLUE;
    DRAWNUMBER_FIX(1,0.33,0.15,0,CONST((净流10))),COLORBLUE;
    Z1A:=STRCAT(HYBLOCK,' ');
    Z2A:=STRCAT(Z1A,FGBLOCK);
    Z3A:=STRCAT(Z2A,DYBLOCK);
    Z4A:=STRCAT(Z3A,' ');
    DRAWTEXT_FIX(ISLASTBAR,0.25,0.98,0,STRCAT(Z4A,GNBLOCK)),COLORGREEN;
    {短中线}
    MA1:=MA(C,1);
    MA2:=MA(C,2);
    MA3:=MA(C,3);
    MA4:=MA(C,5);
    MA52:=MA(C,8);
    MA62:=MA(C,13);
    短线:MA((MA1+MA2+MA3+MA4+MA52+MA62)/6,5),COLORLIMAGENTA,LINETHICK2;
    {短线出击}
    TT2:=dma((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
    TT1:=REF(ema(TT2,3),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;
    LC:=REF(CLOSE,1);
    rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
    FF:=EMA(CLOSE,3);
    AA1:=AMOUNT/vol;
    BB1:=L<AA1*0.9;
    CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
    DD1:=L<MA(C,5)*0.921;
    EE1:=VOL<MA(V,5)*1.5;
    FF1:=BB1 AND CC1 AND DD1 AND EE1;
    F:=100*(C-REF(C,1))/REF(C,1);
    P1:=IF(C<REF(O,1) AND F<0,1,0);
    P2:=IF(C<REF(O,2) AND F<0,1,0);
    TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
    TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;
    Z1:=MA(C,13);
    ZX:=REF(Z1,13/2+1);
    DRAWTEXT(crOSS(CLOSE,TT1)AND J<55,LOW,'买'),COLORWHITE;
    STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;
    A1:=EMA(C,14)COLORRED,LINETHICK1;
    A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
    STICKLINE(CROSS(A1X,0),C,O,2,0)COLORBLUE;
    STICKLINE(CROSS(0,A1X),C,O,2,0)COLORCYAN;
    {时间窗}
    AZ:=BARSCOUNT(CLOSE);
    AH:=HHV(HIGH,144);
    AL:=LLV(LOW,144);
    B0:=(AH-AL)/34;
    BL1:=HIGH+B0;
    BL2:=LOW-B0;
    STICKLINE((AZ+0)/34=FLOOR((AZ+0)/34),BL2,BL2-2*B0,2,0),COLORFFFFFF;
    DRAWTEXT((AZ+0)/34=FLOOR((AZ+0)/34),BL2-4*B0,'窗'),COLORFFFFFF;
    {股市上涨}
    VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
    {绿}
    STICKLINE(VAR3,O,(O+C)/2,2.5,0),COLOR00BB00;
    STICKLINE(VAR3,O,(O+C)/2,0.2,0),COLOR00FF00;
    mtm:=C-REF(C,1);
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
    {买卖线}
    买线:=EMA(CLOSE,2);
    卖线:=EMA(SLOPE(CLOSE,32)*20+CLOSE,56),LINETHICK0;
    BU:=CROSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    DRAWTEXT (BU,LOW*0.989,'点'),COLORBLUE,LINETHICK3;
    STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,0),COLORBLUE;

    {买进主图}
    A7:=C-REF(C,1);
    A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
    买3:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
    DRAWTEXT(FILTER(买3=1,5),LOW-0.15,'进'),COLORBLUE;
    STICKLINE(买3,OPEN,CLOSE,2,0),COLORBLUE;

    {看牛骑牛主图}
    天使:=EMA(C,2);
    魔鬼:=EMA(SLOPE(C,9)*20+C,40);
    买5:=CROSS(天使,魔鬼);
    DRAWTEXT (买5,LOW*0.97,'牛'),COLORLIMAGENTA;
    STICKLINE(CROSS(天使,魔鬼),OPEN,CLOSE,2,0),COLORBLUE;

    {庄现主图}
    AA:=CROSS(MA(C,5),MA(C,21)) AND CROSS(MA(C,5),MA(C,34)) AND CROSS(MA(C,5),MA(C,55));
    BB:=MA(C,55)>MA(C,13) AND CROSS(MA(C,13),MA(C,34)) AND MA(C,34)>MA(C,21) AND ABS(MA(C,55)-MA(C,21))/MA(C,21)<0.05;
    CC:=MA(C,34)>MA(C,5) AND CROSS(MA(C,5),MA(C,21)) AND MA(C,21)>MA(C,13);
    DD:=ABS((MA(C,5)-MA(C,13))+(MA(C,13)-MA(C,21))+(MA(C,21)-MA(C,34)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,13)>REF(MA(C,13),1);
    EE:=MA(C,21)>MA(C,5) AND CROSS(MA(C,5),MA(C,13)) AND MA(C,13)>MA(C,55) AND ABS(MA(C,21)-MA(C,55))/MA(C,55)<0.05;
    FFF:=AA OR BB OR CC OR DD OR EE ;
    探测:=FFF AND FILTER( FFF,8);
    DRAWTEXT(探测,L*0.978,'●'),COLORWHITE;
    STICKLINE(探测,O,C,3,0),LINETHICK2,COLORRED;

    image.png



    未来函数检测公式代码域:

    {智能辅助线}HHJSJDM:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJSJDM+19*REF(HHJSJDM,1)+18*REF(HHJSJDM,2)+17*REF(HHJSJDM,3)+16*REF(HHJSJDM,4)+15*REF(HHJSJDM,5)+14*REF(HHJSJDM,6)+13*REF(HHJSJDM,7)+12*REF(HHJSJDM,8)+11*REF(HHJSJDM,9)+10*REF(HHJSJDM,10)+9*REF(HHJSJDM,11)+8*REF(HHJSJDM,12)+7*REF(HHJSJDM,13)+6*REF(HHJSJDM,14)+5*REF(HHJSJDM,15)+4*REF(HHJSJDM,16)+3*REF(HHJSJDM,17)+2*REF(HHJSJDM,18)+REF(HHJSJDM,20))/210,COLORBLUE;HHJSJDC:ma(HHJSJDB,5),COLORWHITE;{流量幅和行业板块}总额:=MMOUNT;买1:=IF(O=C MND (C-REF(C,1))/REF(C,1)*100>9.8,MMOUNT,MMOUNT/((H-L)*2-Mbs(O-C))*(C-L));买%:=买1/MMOUNT*100;流入1:=MMOUNT*买%/10000000000;流出1:=MMOUNT/100000000-流入1;净流:=(流入1-流出1);总额3:=SUM(MMOUNT,3);流入3:=SUM(流入1,3);流出3:=SUM(流出1,3);净流3:=SUM(流入1-流出1,3);总额5:=SUM(MMOUNT,5);流入5:=SUM(流入1,5);流出5:=SUM(流出1,5);净流5:=SUM(流入1-流出1,5);总额10:=SUM(MMOUNT,10);流入10:=SUM(流入1,10);流出10:=SUM(流出1,10);净流10:=SUM(流入1-流出1,10);画:=CONST(FINDHIGH(总额10,0,190,1));DRMWTEXT_FIX(1,0.11,0.12,0,'净流(亿):'),COLOR8080FF,LINETHICK1;DRMWTEXT_FIX(1,0.18,0.1,0,'1日'),COLOR8080FF,LINETHICK1;DRMWTEXT_FIX(1,0.23,0.1,0,'3日'),COLOR8080FF,LINETHICK1;DRMWTEXT_FIX(1,0.28,0.1,0,'5日'),COLOR8080FF,LINETHICK1;DRMWTEXT_FIX(1,0.33,0.1,0,'10日'),COLOR8080FF,LINETHICK1;DRMWNUMBER_FIX(1,0.18,0.15,0,CONST((净流))),COLORBLUE;DRMWNUMBER_FIX(1,0.23,0.15,0,CONST((净流3))),COLORBLUE;DRMWNUMBER_FIX(1,0.28,0.15,0,CONST((净流5))),COLORBLUE;DRMWNUMBER_FIX(1,0.33,0.15,0,CONST((净流10))),COLORBLUE;Z1M:=STRCMT(HYBLOCK,' ');Z2M:=STRCMT(Z1M,FGBLOCK);Z3M:=STRCMT(Z2M,DYBLOCK);Z4M:=STRCMT(Z3M,' ');DRMWTEXT_FIX(ISLMSTBMR,0.25,0.98,0,STRCMT(Z4M,GNBLOCK)),COLORGREEN;{短中线}MM1:=MM(C,1);MM2:=MM(C,2);MM3:=MM(C,3);MM4:=MM(C,5);MM52:=MM(C,8);MM62:=MM(C,13);短线:MM((MM1+MM2+MM3+MM4+MM52+MM62)/6,5),COLORLIMMGENTM,LINETHICK2;{短线出击}TT2:=dma((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);TT1:=REF(ema(TT2,3),1);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMM(RSV,3,1);D:=SMM(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);rsi:=((SMM(MMX((CLOSE - LC),0),3,1) / SMM(MBS((CLOSE - LC)),3,1)) * 100);FF:=EMM(CLOSE,3);MM1:=MMOUNT/vol;BB1:=L<MM1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MM(C,5)*0.921;EE1:=VOL<MM(V,5)*1.5;FF1:=BB1 MND CC1 MND DD1 MND EE1;F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<REF(O,1) MND F<0,1,0);P2:=IF(C<REF(O,2) MND F<0,1,0);TT3:=P1=0 MND REF(P1,1)=1 MND P2=0 MND REF(P2,1)=1 ;TT4:=P1=1 MND REF(P1,1)=0 MND P2=1 MND REF(P2,1)=0 ;Z1:=MM(C,13);ZX:=REF(Z1,13/2+1);DRMWTEXT(crOSS(CLOSE,TT1)MND J<55,LOW,'买'),COLORWHITE;STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;M1:=EMM(C,14)COLORRED,LINETHICK1;M1X:=(M1-REF(M1,1))/REF(M1,1)*100,NODRMW;STICKLINE(CROSS(M1X,0),C,O,2,0)COLORBLUE;STICKLINE(CROSS(0,M1X),C,O,2,0)COLORCYMN;{时间窗}MZ:=BMRSCOUNT(CLOSE);MH:=HHV(HIGH,144);ML:=LLV(LOW,144);B0:=(MH-ML)/34;BL1:=HIGH+B0;BL2:=LOW-B0;STICKLINE((MZ+0)/34=FLOOR((MZ+0)/34),BL2,BL2-2*B0,2,0),COLORFFFFFF;DRMWTEXT((MZ+0)/34=FLOOR((MZ+0)/34),BL2-4*B0,'窗'),COLORFFFFFF;{股市上涨}VMR3:=REF(C,1)=LLV(C,4) MND C>=REF(C,2) OR REF(C,2)=LLV(C,4) MND REF(C,1)<=REF(C,3) MND REF(C,2)<REF(C,4) MND C>=REF(C,1);{绿} STICKLINE(VMR3,O,(O+C)/2,2.5,0),COLOR00BB00;STICKLINE(VMR3,O,(O+C)/2,0.2,0),COLOR00FF00;mtm:=C-REF(C,1);DX:=100*EMM(EMM(MTM,6),6)/EMM(EMM(MBS(MTM),6),6);买:=LLV(DX,2)=LLV(DX,7) MND COUNT(DX<0,2) MND CROSS(DX,MM(DX,2));{买卖线}买线:=EMM(CLOSE,2);卖线:=EMM(SLOPE(CLOSE,32)*20+CLOSE,56),LINETHICK0; BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRMWTEXT (BU,LOW*0.989,'点'),COLORBLUE,LINETHICK3;STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,0),COLORBLUE;{买进主图}M7:=C-REF(C,1);M8:=100*EMM(EMM(M7,6),6)/EMM(EMM(MBS(M7),6),6);买3:=LLV(M8,2)=LLV(M8,7) MND COUNT(M8<0,2) MND CROSS(M8,MM(M8,2));DRMWTEXT(FILTER(买3=1,5),LOW-0.15,'进'),COLORBLUE;STICKLINE(买3,OPEN,CLOSE,2,0),COLORBLUE;{看牛骑牛主图}天使:=EMM(C,2);魔鬼:=EMM(SLOPE(C,9)*20+C,40);买5:=CROSS(天使,魔鬼);DRMWTEXT (买5,LOW*0.97,'牛'),COLORLIMMGENTM;STICKLINE(CROSS(天使,魔鬼),OPEN,CLOSE,2,0),COLORBLUE;{庄现主图}MM:=CROSS(MM(C,5),MM(C,21)) MND CROSS(MM(C,5),MM(C,34)) MND CROSS(MM(C,5),MM(C,55));BB:=MM(C,55)>MM(C,13) MND CROSS(MM(C,13),MM(C,34)) MND MM(C,34)>MM(C,21) MND MBS(MM(C,55)-MM(C,21))/MM(C,21)<0.05;CC:=MM(C,34)>MM(C,5) MND CROSS(MM(C,5),MM(C,21)) MND MM(C,21)>MM(C,13);DD:=MBS((MM(C,5)-MM(C,13))+(MM(C,13)-MM(C,21))+(MM(C,21)-MM(C,34)))<0.02 MND MM(C,5)>REF(MM(C,5),1) MND MM(C,13)>REF(MM(C,13),1);EE:=MM(C,21)>MM(C,5) MND CROSS(MM(C,5),MM(C,13)) MND MM(C,13)>MM(C,55) MND MBS(MM(C,21)-MM(C,55))/MM(C,55)<0.05;FFF:=MM OR BB OR CC OR DD OR EE ;探测:=FFF MND FILTER( FFF,8);DRMWTEXT(探测,L*0.978,'●'),COLORWHITE;STICKLINE(探测,O,C,3,0),LINETHICK2,COLORRED;

    未发现:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    警惕!警惕!警惕!该公式包含未来函数:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号