通过布林四线找横刀股票,附指标源码
-
相关简介:布林四线: C/C++ Code 复制内容到剪贴板 BBI:= BBI (3,6,12,24); 中轴线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 压力线:BBI+3*STD(BBI,10); 支撑线:BBI-3*STD(BBI,10); 安全线:=MA(CLOSE,30);{CIRCLEDOT,COLORFFFF00;} partline(安全线,安全线ref(安全线,1),rgb(255,0,0),
-
文章来源:择股网作者:股海网发布时间:2009-11-19浏览次数:
布林四线:
C/C++ Code复制内容到剪贴板
- BBI:="BBI"(3,6,12,24);
- 中轴线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
- 压力线: BBI+3*STD(BBI,10);
- 支撑线: BBI-3*STD(BBI,10);
- 安全线:=MA(CLOSE,30);{ CIRCLEDOT,COLORFFFF00;}
- partline(安全线,安全线>ref(安全线,1),rgb(255,0,0),安全线<ref(安全线,1),rgb(0,255,0),1,rgb(0,0,255)),CIRCLEDOT;
张兴文老师的成交量也一起发出来,方便大家。
C/C++ Code复制内容到剪贴板
- VOL,pRECIS0,VOLSTICK;
- T:=CURRENTTIME;
- H1:=intpart(T / 10000);
- MM:=intpart(mod(T,10000)/100);
- A1:=if(between(t,93000,113000),60*(h1-9)+mm-30,120);
- A2:=if(between(t,130000,150000) and t>113000,60*(h1-13)+mm+120,240);
- A:=if(t<130000,a1,a2);
- 虚拟:IF(BARSTATUS=2,VOL*240/A,VOL),pRECIS0,linethick0;
- {启动线:MA(VOL,5),COLORWHITE,linethick2;}
- 启动线:(ref(vol,1)+ref(vol,2)+ref(vol,3)+ref(vol,4)+虚拟)/5,pRECIS0,linethick2;
- 洗盘线:MA(VOL,35),COLORYELLOW,pRECIS0,linethick2;
- 异动线:MA(VOL,135),COLORGREEN,pRECIS0,linethick2;
- {出击:CROSS(启动线,异动线) OR ((洗盘线 > 异动线) AND CROSS(启动线,洗盘线)),pRECIS0,COLORred;
- STICKLINE(CROSS(启动线,异动线) OR ((洗盘线 > 异动线) AND CROSS(启动线,洗盘线)),0,VOL,4,0),COLORred;}
- 启动:启动线>REF(启动线,1) AND (CROSS(VOL,启动线) AND (REF(VOL,1)<REF(异动线,1) OR REF(VOL,2)<REF(异动线,2))),pRECIS0,COLORyellow;
- STICKLINE(启动线>REF(启动线,1) AND (CROSS(VOL,启动线) AND (REF(VOL,1)<REF(异动线,1) OR REF(VOL,2)<REF(异动线,2))),0,VOL,2,0),COLORyellow;
- COND:(CROSS(启动线,异动线) OR ((洗盘线 > 异动线) AND CROSS(启动线,洗盘线)))
- OR (启动线>REF(启动线,1) AND (CROSS(VOL,启动线) AND (REF(VOL,1)<REF(异动线,1) OR REF(VOL,2)<REF(异动线,2)))),pRECIS0,LINETHICK0;
- 突变:v+ref(v,1)>=(ref(v,2)+ref(v,3)+ref(v,4)+ref(v,5)+ref(v,6))/5*3 and v<2*ref(v,1) and c>o and c>ma(c,21),colorred,pRECIS0;
- stickline(突变,2*v/3,v,7,0),colorred;
- 配合:ref(v,1)<max(ma(v,5),max(ma(v,10),ma(v,20))) and v>max(ma(v,5),max(ma(v,10),ma(v,20))) and v<2*ref(v,1) and cross(c,ma(c,21)),pRECIS0,coloryellow;
- stickline(配合,v/3,2*v/3,7,0),coloryellow;
- stickline(v=llv(v,15),0,v,7,0),colorwhite;
- 突破:c>=hhv(c,15) and v>=hhv(v,15),pRECIS0,colorFF00FF;
- stickline(突破,0,v/3,7,0),colorFF00FF;
- V2:=IF(BARSTATUS=2,虚拟/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
- STICKLINE(V2>=1,0,0.99*VOL,1,0),COLORgreen;
- STICKLINE(虚拟>vol and t>93000 and t<150000,0,虚拟,2,0),COLORblue;
- 你:=MA(CLOSE,1);
- 老:=(LOW+HIGH+CLOSE)/3;
- 板:= MA(老,5);
- 买卖:=LLV(板,10);
- 急买:=IF(LLV((你<买卖),5),10,0);
- DRAWTEXT(急买=10,V*2,'急买'),coloryellow;