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

    买点专题汇总

    当前位置: 主页 > 指标专题 > 买点专题汇总

    通达信MACD买点来了指标选股公式精选

    来源:|编辑:小编|时间:2022-02-22|栏目:买点专题汇总

    通达信macd买点来了选股指标公式源码

    源码正文:

    VAR1:= ema(Ema(CLOSE,13),13){XG51};
    控盘指数: (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,POINTDOT,COLORFFCCCC{XG51};
    stICKLINE(控盘指数<0,控盘指数,0,2,0),COLORGRAY{XG51};
    无庄控盘: 控盘指数<0,LINETHICK0,COLORGRAY{XG51};
    STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>0 AND 控盘指数<3,控盘指数,0,2,1),COLORRED{XG51};
    STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>0 AND 控盘指数>3,控盘指数,0,2,1),COLORRED{XG51};
    STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>3,控盘指数,3,4,1),COLORFF00FF{XG51};
    主力控盘: 控盘指数>REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLORRED{XG51};
    STICKLINE(控盘指数<REF(控盘指数,1) AND 控盘指数>0,控盘指数,0,2,0),COLOR00FF00{XG51};
    控盘减弱: 控盘指数<REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLOR00FF00{XG51};
    VARA:= EMA(0.667*REF(控盘指数,1)+0.333*控盘指数,2){XG51};
    STICKLINE(控盘指数>VARA,控盘指数,VARA,2,0),COLORRED{XG51};
    B2:= 控盘指数>VARA{XG51};
    准备: B2>REF(B2,1) AND 控盘指数<(-2),COLORYELLOW{XG51};
    DRAWTEXT(准备,3,'准备'),COLORYELLOW{XG51};
    B1:= (控盘指数>REF(控盘指数,1) AND 控盘指数>0)=1{XG51};
    开始控盘: B1>REF(B1,1),COLORMAGENTA,LINETHICK3{XG51};
    A:=(3*C+L+O+H)/6{XG51};
    X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
    14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
    +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
    REF(A,20))/210{XG51};
    mtm:=C-REF(C,1){XG51};
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6){XG51};
    CB:=EMA(X,13){XG51};
    买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND crOSS(DX,MA(DX,2)),1,0){XG51};
    DRAWICON(FILTER(买=1,5),L*0.11,1){XG51};
    difF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORWHITE,LINETHICK1{XG51};
    DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1{XG51};
    macd:2*(DIFF-DEA), COLORSTICK{XG51};
    MacD1:=2*(DIFF-DEA),COLORRED,NODRAW{XG51};
    MACD2:=EMA(MACD1,3),COLORCYAN,NODRAW{XG51};
    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED{XG51};
    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLORYELLOW{XG51};
    STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORGREEN{XG51};
    S1:=MACD<0{XG51};
    S2:= (MACD>=0){XG51};
    S3:=BArslAST(CROSS(DIFF,DEA)){XG51};
    S4:=REF(S3,S3+1){XG51};
    S5:=DEA>REF(DEA,S4){XG51};
    S6:=DEA{XG51};
    上成立:=CROSS(DIFF,DEA) AND S5{XG51};
    下成立:=CROSS(DIFF,DEA) AND S6{XG51};
    L1:=(EMA(CLOSE,3) - EMA(CLOSE,13)){XG51};
    L2:=EMA(L1,9){XG51};
    L3:=BARSLAST(CROSS(L1,L2)){XG51};
    L4:=REF(L3,L3+1){XG51};
    L5:=L2{XG51};
    变盘:CROSS(L1,L2) AND L5,NODRAW,COLORD6FF9C{XG51};
    STICKLINE(变盘,5,0,0,1),COLORD6FF9C{XG51};
    LS:=IF(DIFF>DEA AND DIFF>0,1,0){XG51};
    加速上扬:IF(REF(LS=0,1) AND LS=1,0.1,0){XG51};
    XG1:CROSS(MACD1,MACD2) AND MACD1<0,NODRAW{XG51};
    XG2:CROSS(DIFF,DEA),NODRAW{XG51};
    M1:=MACD>REF(MACD,1) AND DIFF<DEA{XG51};
    绿柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5,NODRAW{XG51};
    DRAWTEXT(绿柱短了,MACD,'买点来了'){XG51};
    DIFL:=EMA(V,12)-EMA(V,26){XG51};
    DIF:=EMA(C,12)-EMA(C,26){XG51};
    BL:=DIFL>REF(DIFL,1) AND DIF<REF(DIF,1){XG51};
    四天: REF(BL,3)=1 AND REF(BL,2)=1 AND REF(BL,1)=1 AND BL{XG51};
    三天:REF(BL,2)=1 AND REF(BL,1)=1 AND BL{XG51};
    IF(DIFF>DEA,DIFF,DRAWNULL),COLORFF11CC,LINETHICK1{XG51};
    IF(DIFF>DEA AND DIFF<0,DIFF,DRAWNULL),COLORRED,LINETHICK1{XG51};
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100{XG51};
    K:=SMA(RSV,3,1){XG51};
    D:=SMA(K,3,1){XG51};
    DRAWTEXT(FILTER(D>80,6),H*1.018,'D>80'){XG51};
    DRAWTEXT(FILTER(CROSS(K,D) AND D<26,6),H*0.95,'kd低位金叉'),COLORFFCCCC{XG51};
    STICKLINE(FILTER(CROSS(K,D) AND D<26,6),H*0.97,H*0.95,4,0),COLORFFCCCC{XG51};
    DIFFF:=EMA(CLOSE,12) - EMA(CLOSE,26){XG51};
    DEAF :=EMA(DIFFF,9){XG51};
    MACDD:=2*(DIFFF-DEAF){XG51};
    DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,'MACD低位金叉'),COLORRED{XG51};
    STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,L-0.1,4,0),COLOR00FF00{XG51};
    DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.25,'MACD下拐点'),COLORYELLOW{XG51};
    STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.02,H+0.12,4,0),COLORBLUE{XG51};
    DRAWTEXT(FILTER(CROSS(MACDD,0),13),L*0.65,'MACD上拐点'),COLORRED{XG51};
    STICKLINE(FILTER(CROSS(MACDD,0),13),L*0.97,L*0.95,4,0),COLORWHITE{XG51};
    roc:=(CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100{XG51};
    DRAWTEXT(FILTER(CROSS(ROC,0),6),L-2.25,'骗线拐点'),COLORWHITE{XG51};
    STICKLINE(FILTER(CROSS(ROC,0),6),L-0.02,L-0.15,4,0),COLORFF00FF{X.G=5_1.C.N.{};

    {~W^W~W+G.P*G+S.C.N.{=}

    image.png

    分享到: 新浪微博分享分享到新浪微博

    热门股票公式标签:

    上一篇:暂无

    栏    目:买点专题汇总

    下一篇:通达信建仓买点之建仓买点指标选股公式精选

    本文标题:通达信MACD买点来了指标选股公式精选

    本文地址:https://gs0.cn/zbzthz/329.html

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

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

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

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

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