飞狐BBIBOLL角度主图及选股
-
相关简介:input:n(10,1,100),p(3,0.1,20); BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,LINETHICK2; UPR:BBI+P*STD(BBI,N),COLORYELLOW; DWN:BBI-P*STD(BBI,N),COLORYELLOW; EBBI:(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4,COLORFF00FF,LINETHICK2; DRAWTEXT
-
文章来源:股海网作者:股海网发布时间:2015-01-07浏览次数:
input:n(10,1,100),p(3,0.1,20);
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,LINETHICK2;
UPR:BBI+P*STD(BBI,N),COLORYELLOW;
DWN:BBI-P*STD(BBI,N),COLORYELLOW;
EBBI:(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4,COLORFF00FF,LINETHICK2;
DRAWTEXT(CROSS(BBI,EBBI),L-0.13,'牛股'),COLORYELLOW;
BBI角度:=atan((BBI/ref(BBI,3)-1)*100)*180/3.1415926535;
UPR角度:=atan((UPR/ref(UPR,3)-1)*100)*180/3.1415926535;
DWN角度:=atan((DWN/ref(DWN,3)-1)*100)*180/3.1415926535;
EBBI角度:=atan((EBBI/ref(EBBI,3)-1)*100)*180/3.1415926535;
DRAWTEXTEX(1,0,10,10,'■BBI角度:'+NUMTOSTR(BBI角度,2)+''),ColorFFFFFF;
DRAWTEXTEX(1,0,150,10,'■UPR角度:'+NUMTOSTR(UPR角度,2)+''),ColorFFFFFF;
DRAWTEXTEX(1,0,290,10,'■DWN角度:'+NUMTOSTR(DWN角度,2)+''),ColorFFFFFF;
DRAWTEXTEX(1,0,430,10,'■EBBI角度:'+NUMTOSTR(EBBI角度,2)+''),ColorFFFFFF;