牛熊分界线

  • Atn1:=barscount(c)>=120 and l>=ma(c,30) and ma(c,10)>=ma(c,20) and    
  •       ma(c,20)>=ma(c,30) and ma(c,60)>=ma(c,120); {牛市}   
  • Atn:=count(Atn1,1)>=1;   
  • Atx1:=barscount(c)>=120 and ma(c,60)>=ma(c,120) and Atn=0; {牛入熊市}   
  • Axj1:=count(Atx1,1)>=1;   
  • Ak:=l;   
  • Atx2:=barscount(c)>=120 and Ak<=ma(c,5) and Ak<=ma(c,10) and  Ak<=ma(c,30) and    
  •       Ak<=ma(c,60) and ma(c,60)<ma(c,120); {全熊市}   
  • Axj2:=count(Atx2,2)>=1;   
  • Atx3:=barscount(c)>=120 and ma(c,60)<ma(c,120) and Axj2=0; {熊市反弹}   
  • Axj3:=count(Atx3,1)>=1;   
  •   
  • xx:=130;   
  • stickline(Atn ,xx*0.42,xx*0.37,3,0),Colorred;   
  • drawtext(Axj1 ,xx*0.4,'↘'),Colorwhite;   
  • stickline(Axj2 ,xx*0.22,xx*0.28,3,0),Color00ff00;   
  • drawtext(Axj3 ,xx*0.32,'↗'),Colorwhite;   


  • 来函数检测结果如下:
    该公式没有未来函数

    解密、编写股票、期货策略请联系QQ或微信同号:88652583
    相关股票指标公式

    联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

    @2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
    QQ:88652583 微信 88652583
    sitemap站点地图