这两个指标和布林线一起组成一个指标群,应配合使用,如图示,BB强势指标向上攀升,width极限宽的MACD不出红柱或出绿柱,说明前一段的调整已近极限,随时面临突变(向上或向下都有可能),结合BB向上来看,拉升的可能性偏大。
我的BB强势指标
MID:=MA(C,20);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,20);
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,COLORRED,LINETHICK2;
BB均:MA(BB,6),COLORGREEN;
强势区:100,DOTLINE,COLORCYAN;
DRAWICON(CROSS(BB,100),100,27);
我的WIDTH指标
MID:=MA(C,20);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,20);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
WIDTH:(UPPER-LOWER)/MID,COLORYELLOW;
MA6:MA(WIDTH,6),COLORWHITE;
MACD:(WIDTH-MA6)*2,NODRAW;
W1:STICKLINE(MACD>0.015,MACD,0,3,1),COLORRED;
W2:STICKLINE(MACD<-0.015,MACD,0,3,1),COLORCYAN;
警戒:0.3,DOTLINE;