飞狐一品五线布林主图指标
-
相关简介:飞狐一品五线布林主图指标 源码 {N:1,10,5; N1:=10;P1:=3;参数N表示步林口上下轨之间的最小差距;} {五线布林Z指标使用方法: 一品五线变布林,开合趋势真分明;突破上轨拉升快,回归中轨反弹轻。} BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 上:BBI+P1*STD(BBI,N1),COLORYELLOW; 险:IF(BBI*1.15上*1.03,上*1.06,上*1.03),COLOR0000FF,
-
文章来源:股海网作者:股海网发布时间:2016-06-07浏览次数:
飞狐一品五线布林主图指标
源码
{N:1,10,5; N1:=10;P1:=3;参数N表示步林口上下轨之间的最小差距;}
{五线布林Z指标使用方法:
一品五线变布林,开合趋势真分明;突破上轨拉升快,回归中轨反弹轻。}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上:BBI+P1*STD(BBI,N1),COLORYELLOW;
险:IF(BBI*1.15>上*1.03,上*1.06,上*1.03),COLOR0000FF,POINTDOT,LINETHICK0;
下:BBI-P1*STD(BBI,N1),COLORFF00FF;
中:BBI,COLORWHITE;
AA:BBI+P1*STD(BBI,N1)/2,COLOR88FF88;
BB:BBI-P1*STD(BBI,N1)/2,COLOR88FF88;
MA30:MA(C,30),POINTDOT,COLOR00FF00;
QSXS1:=AA>REF(AA,1) AND BBI>REF(BBI,1);
QSXS2:=COUNT(MA30>REF(MA30,1),5)=5;
FLSZ:=C>O AND V>REF(V,1);
RMG:=FLSZ AND (C/REF(C,1)-1)*100>=2;
SCAA:=CROSS(C,AA) OR (O<AA AND C>AA);
BLK:=LLV((上-下),2)=LLV((上-下),10);
XBLK:=(上/下-1)*100<=N;
BLKSJ:=BARSLAST(BLK)+1;
拉升:FILTER(SCAA AND FLSZ AND (QSXS1 OR (QSXS2 AND BLKSJ<5)),3),COLORFF00FF,POINTDOT,LINETHICK0;
优选:拉升 AND COUNT(XBLK,4)>=1 AND RMG,COLOR00FF00,POINTDOT,LINETHICK0;
XZF:=(C/REF(C,1)-1)*100<=1;
XPL:=ABS(C-BBI)/BBI*100<=2 OR ABS(l-BBI)/BBI*100<=2;
回:COUNT(QSXS1,8)>=6 AND XZF AND XPL,COLORFFFFFF,POINTDOT,LINETHICK0;
{以下设置主图显示方式}
STICKLINE(拉升,(O+C)/2,(O+C)/2,4,0),COLORFF00FF;
STICKLINE(拉升,H,L,0,1),COLORFF00FF;
DRAWTEXT(拉升,L*0.99,'◆'),COLORFF00FF;
DRAWTEXT(回,L*0.99,'回'),COLORFFFFFF;
DRAWTEXT(XBLK,BBI*1.01,'口'),COLOR00FF00;
STICKLINE(优选,H,L,1,0),COLORFF00FF;
DRAWICON(优选,L*0.99,1);
高:=((H/BBI-1)*100>=15 AND (H/上-1)*100>=3) OR (H/上-1)*100>=6;
STICKLINE(高,H*1.01,H*1.02,4,0),COLOR00FFFF;