以下是牛熊分界线
C/C++ Code复制内容到剪贴板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),Culorred; drawtext(Axj1 ,xx*0.4,’↘’),Culorwhite; stickline(Axj2 ,xx*0.22,xx*0.28,3,0),Culor00ff00; drawtext(Axj3 ,xx*0.32,’↗’),Culorwhite;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)