BBI算法:
3日平均价加6日平均价加12日平均价加24日平均价,其和除以四。
用法:
1.为BBI与BOLL的迭加;
2.高价区收盘价跌破BBI线,卖出信号;
3.低价区收盘价突破BBI线,买入信号;
4.BBI线向上,股价在BBI线之上,多头势强;
5.BBI线向下,股价在BBI线之下,空头势强。
6.细蓝心柱为震仓线,在洗盘
7.粗蓝心柱为抄底线
CV:=CLOSE;
BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:BBIBOLL+M*STD(BBIBOLL,N);
DWN:BBIBOLL-M*STD(BBIBOLL,N);
T:=150;
TT:=3;
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),colorred;
STICKLINE(涨停,OPEN,CLOSE,3,0),coloryellow;
STICKLINE(涨停,H,L,0,0),coloryellow;
B1:='┄┄┄┄┄均价';
DRAWTEXT(均价线 AND 涨停,均价线,B1),colorgreen;
B3:='┄┄┄┄┄当日中间价';
DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),colormagenta;
B2:='┄┄┄┄┄涨停底部';
DRAWTEXT(涨停,L,B2),colorgray;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.6,0),colorblue;
STICKLINE(PP AND HH,OPEN,CLOSE,0.6,0),colorblue;
STICKLINE(PP3 AND HH,OPEN,CLOSE,1.2,0),colorblue;
A:=SMA(L,4,3) ;
STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,15,0);
DRAWICON(A AND REF(PP,1) AND HH,L*0.98,7);
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0);
DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,5);