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

    老牛捉妖

    当前位置: 主页 > 套装公式 > 老牛捉妖

    通达信老牛捉妖主图指标选股公式精选

    来源:|编辑:小编|时间:2022-02-26|栏目:老牛捉妖

    通达信老牛捉妖主图选股指标公式源码

    源码正文:

    ma1:=MA(CLOSE,4){GPGS};
    MA2:=MA(CLOSE,13){GPGS};
    MA3:=MA(CLOSE,24){GPGS};
    MA4:=MA(CLOSE,30){GPGS};
    MA5:=MA(CLOSE,120){GPGS};
    SXSS:=MA2>MA3 AND MA3>MA4 AND MA4>MA5 AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>=REF(MA5,1){GPGS};
    角度13:=ATAN((MA(C,13)/REF(MA(C,13),1)-1)*100)*57.3{GPGS};
    N:=120{GPGS};
    MID1:=MA(C,N){GPGS};
    VART1:=POW((C-MID1),2){GPGS};
    VART2:=MA(VART1,N){GPGS};
    VART3:=SQRT(VART2){GPGS};
    UPPER:=MID1+2*VART3{GPGS};
    LOWER:=MID1-2*VART3{GPGS};
    筹码线:REF(UPPER,1),COLOR00FFFF,LINETHICK2{GPGS};
    趋势线:MA(CLOSE,24),COLORRED,LINETHICK2{GPGS};
    HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6{GPGS};
    成本线1:=(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,COLORYELLOW{GPGS};
    成本线2:=MA(成本线1,7),COLORRED{GPGS};
    AA:=(C-REF(C,1))/REF(C,1)*100{GPGS};
    AAA:=(H-REF(C,1))/REF(C,1)*100{GPGS};
    VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL){GPGS};
    obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0){GPGS};
    MaoBV30:=MA(OBV,30){GPGS};
    B:="OBV.OBV"{GPGS};
    A2:=B>REF(HHV(B,30),1){GPGS};
    红量能:=OBV>MAOBV30{GPGS};
    涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0){GPGS};
    创新高1:=HIGH>=HHV(HIGH,20){GPGS};
    Z:=REF(涨停,1) {GPGS};
    W:=COUNT(Z ,5)>=1{GPGS};
    W3:=COUNT(Z ,13)>=1{GPGS};
    DK:=O<=REF(C,1) AND AA<-2{GPGS};
    W2:=COUNT(DK ,2)>=1{GPGS};
    至尊:=W AND AA>2.5 AND REF(W2,1) AND REF(AA<2.4,1) AND MA4>0{GPGS};
    stICKLINE(涨停,O,C,2,0),COLORYELLOW{GPGS};
    创新高:=HIGH>=HHV(HIGH,150){GPGS};
    第一次创新高:=创新高=1 AND BArslAST(REF(创新高=1,1))>=1 AND AA>3{GPGS};
    DRAWTEXT(FILTER(第一次创新高=1,1),LOW-0.2,'↖新高'),COLORYELLOW{GPGS};
    放量:=V>MA(V,89) {GPGS};
    异动:=放量=1 AND BARSLAST(REF(放量=1,1))>=6 AND H>boll AND MA4>MA5{GPGS};
    STICKLINE(至尊,OPEN,CLOSE,1,0),COLORF00FF0{GPGS};
    牛二:=SXSS AND C>MA2 AND L<=MA2 AND C>O AND 角度13>47 AND W3 {GPGS};
    DRAWTEXT(FILTER(牛二=1,0),LOW-0.2,'↖牛二'),COLORWHITE{GPGS};
    DRAWICON(至尊,LOW-0.3,1){GPGS};
    DRAWICON(至尊,LOW-1,24){GPGS};
    DRAWICON(至尊,LOW-1.5,25){GPGS};
    DRAWICON(至尊,LOW-2,26){GPGS};
    DRAWTEXT_FIX(1,0.00,0,0,'行业:'),COLORWHITE{GPGS};
    DRAWTEXT_FIX(1,0.04,0,0,HYBLOCK),COLORWHITE{GPGS};
    DRAWTEXT_FIX(1,0.14,0,0,'概念:'),COLORWHITE{GPGS};
    DRAWTEXT_FIX(1,0.18,0,0,GNBLOCK),COLORWHITE{X+G*5*1+C+N+{};

    {_W!W_W-G!P~G~S~C-N-{-}

    image.png

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

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

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

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

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