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)
Axj2:=count(Atx2,2)>=1;
Atx3:=barscount(c)>=120 and ma(c,60)
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;
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
牛熊分界线
加入收藏