点击关注☝,置顶+星标每天订阅,学习更多指标内容☼☝
说明:
1、布林极限宽-指示即将变盘(不知道向什么地方变)
2、布林极限-指示变盘方向
3、布林轨道主图-综合
布林线是一个测量股价变异性的指标,当股价剧烈波动时,布林线的上下限范围会自动加宽,当股价发展沉闷,呈现横向微幅整理时,布林线的上下范围会自动束紧。一般矩形盘整形态,经常出现股价突破压力后随即回档,或者股价跌破支撑后随即弹升,这种反复涨跌的现象,让投资人感到相当困扰。如果盘整的时间拖延大久,市场会渐渐的疲乏,慢慢的变成一滩死水,失去信心后,股价走势失去方向,
布林线对于筛选“变盘在即”的股票,提供了相当可靠的讯号。当布林线的路径宽度束紧时,代表个服即将发动行情。但是,路径的“宽度”认定,每一个人的标准都不同,股民很难判断目前的路径宽度够不够“窄”。布林极限宽解决了路 径“窄不窄”的问题。
布林极限>100时,代表股价超越布林线上限。布林极限<0时,代表股价超越布林线下限。股价一顶比一顶高,而布林极限一顶比一顶低时,暗示股价将反转下跌。股价一底比一底低,而布林极限一底比一底高时,暗示股价将反转上涨。
事实上,布林线、布林极限、布林极限宽是一个完整的指标组合,实战操作时,三者互相支援,被视为“一套”指标。
本人根据以上原则自行(也引用了指标的源码)改编了三个指标,同时将参数进行了改变,正常的布林轨道参数为20,2,本人改为10,2,不喜欢的可自行改变
【布林主图】
N:=10;P:=2;MID : MA(CLOSE,N)COLORYELLOW,DOTLINE;UP: MID + P*STD(CLOSE,N)COLORLIMAGENTA,DOTLINE ,LINETHICK2;LO: MID - P*STD(CLOSE,N)COLORLICYAN, DOTLINE ,LINETHICK2;KDJ_K:="KDJ.K"(9,3,3);KDJ_D:="KDJ.D"(9,3,3);KDJ_J:="KDJ.J"(9,3,3);买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26);买2:=CROSS("RSI.RSI1"(6,2,2),20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));买3:=CROSS("MACD.DIF","MACD.DEA") OR CROSS("MACD.MACD",0);买0:=买1+买2+买3;买:=IF(买0>1,买0,0);DRAWICON(买0>1,L*0.97,34);CTA1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);CTA2:=REF(CTA1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA3:=REF(CTA2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA4:=REF(CTA3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA5:=REF(CTA4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA6:=REF(CTA5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA7:=REF(CTA6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA8:=REF(CTA7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA9:=REF(CTA8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTAA:=REF(CTA9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTAB:=REF(CTAA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTAC:=REF(CTAB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:彩虹桥投资学习'),COLORRED;CTAD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);CTAE:=REF(CTAD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTAF:=REF(CTAE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA10:=REF(CTAF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA11:=REF(CTA10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA12:=REF(CTA11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA13:=REF(CTA12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA14:=REF(CTA13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA15:=REF(CTA14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA16:=REF(CTA15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA17:=REF(CTA16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CTA18:=REF(CTA17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CTA19:=REF(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,1) AND CTA1;CTA1A:=REF(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,1) AND CTAD;{粉}STICKLINE(CLOSE< REF(CLOSE,1),HIGH,LOW,0,0 ),COLOR00DD00;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,3.2,0 ),COLORFF33FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,2.7,0 ),COLORFF55FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,2.1,0 ),COLORFF77FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,1.5,0 ),COLORFF99FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,0.9,0 ),COLORFFBBFF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,0.3,0 ),COLORFFDDFF;{金}STICKLINE(CLOSE> REF(CLOSE,1),HIGH,LOW,0,0 ),COLOR000DDD;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,3.2,0 ),COLOR003333;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,2.7,0 ),COLOR005555;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,2.1,0 ),COLOR007777;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,1.5,0 ),COLOR009999;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,0.9,0 ),COLOR00BBBB;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,0.3,0 ),COLOR00DDDD;{红}STICKLINE(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,CLOSE,REF(CLOSE,1),3.2,0),COLOR000555;STICKLINE(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,CLOSE,REF(CLOSE,1),2.7,0),COLOR000777;STICKLINE(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,CLOSE,REF(CLOSE,1),2.1,0),COLOR000999;STICKLINE(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,CLOSE,REF(CLOSE,1),1.5,0),COLOR000BBB;STICKLINE(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,CLOSE,REF(CLOSE,1),0.9,0),COLOR000DDD;STICKLINE(CTA1 OR CTA2 OR CTA3 OR CTA4 OR CTA5 OR CTA6 OR CTA7 ORCTA8 OR CTA9 OR CTAA OR CTAB OR CTAC,CLOSE,REF(CLOSE,1),0.3,0),COLOR000FFF;{绿}STICKLINE(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,CLOSE,REF(CLOSE,1),3.2,0),COLOR005500;STICKLINE(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,CLOSE,REF(CLOSE,1),2.7,0),COLOR007700;STICKLINE(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,CLOSE,REF(CLOSE,1),2.1,0),COLOR009900;STICKLINE(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,CLOSE,REF(CLOSE,1),1.5,0),COLOR00BB00;STICKLINE(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,CLOSE,REF(CLOSE,1),0.9,0),COLOR00DD00;STICKLINE(CTAD OR CTAE OR CTAF OR CTA10 OR CTA11 OR CTA12 OR CTA13 ORCTA14 OR CTA15 OR CTA16 OR CTA17 OR CTA18,CLOSE,REF(CLOSE,1),0.3,0),COLOR00FF00;{紫}STICKLINE(CTA19,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLOR550055;STICKLINE(CTA19,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLOR770077;STICKLINE(CTA19,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLOR990099;STICKLINE(CTA19,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORBB00BB;STICKLINE(CTA19,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORDD00DD;STICKLINE(CTA19,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFF00FF;{蓝}STICKLINE(CTA1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300;STICKLINE(CTA1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500;STICKLINE(CTA1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700;STICKLINE(CTA1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900;STICKLINE(CTA1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00;STICKLINE(CTA1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00;DRAWICON(FILTER(CTA19=1,5),L*0.9998,1);DRAWICON(FILTER(CTA1A=1,5),H*1.0003,2);
=====================================
【布林极限副图】
N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);BB:((C-LB1)/(UB-LB)*100)NODRAW,COLORLIBLUE;DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:彩虹桥投资学习'),COLORRED;MA6:MA(BB,3)NODRAW,DOTLINE;DRAWICON(CROSS(100,BB),140,35);DRAWBAND(MA6,RGB(0,22,224),BB,RGB(255,50,50));0,DOTLINE;100,DOTLINE;
=====================================
【布林极限宽副图】
N:=10;P:=2;MID := MA(CLOSE,N);UPPER:= MID + P*STD(C,N);LOWER:= MID - P*STD(C,N);B:(UPPER-LOWER)/MID,COLORWHITE,LINETHICK2;DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:彩虹桥投资学习'),COLORRED;A:STICKLINE(B<0.085,B,0.085,0.5,0),COLORLIBLUE;DRAWTEXT(A,0.2,'变')COLORGREEN;0.085;
=====================================
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
END
如果知识内容对你有帮助,可以点赞
or 点在看
,分享给更多的人☟☟☟↓↓↓ |