bbi多空指标公式:BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED;
bbi多空指标公式:
N:=26;
P:=2;
MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N);
LOWER: MID - P*STD(CLOSE,N);
MA3:MA(CLOSE,3),COLOR0099FF;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED;
DRAWTEXT(cross(bbi,MID ),bbi*0.99,'★'),COLORRED;
DRAWTEXT(DISPSTATUS=2,BBI*1.007,'BBI多空指数'),COLORRED;
DRAWICON(CROSS(MA3,BBI),bbi*0.99,7),ALIGN1;
RSV2:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
N2:=27;
RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
中K:=SMA(RSV1,5,1);
中D:=SMA(中K,10,1);
C_D1:=(3*C+2*O+L+H)/7;
WMA5:=(5*C_D1+4*REF(C_D1 ,1 )+3*REF(C_D1 ,2 )+2*REF(C_D1 ,3 )+REF(C_D1 ,4 ))/15;
C_D2:=REVERSE(C_D1)+2*WMA5;
红箭头:=CROSS(WMA5,C_D2*0.997);
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
NN:=中K>中D;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
红箭:=红箭头 AND AA1>AA2 AND BB1>BB2 AND NN AND (C-REF(C,1))/REF(C,1)>0.045;
DRAWTEXT(红箭,bbi*0.99,'★强势'),COLOR0099FF;
VERTLINE(红箭,1),COLOR0099FF;
止损:=REF(HHV(H,13),1)*0.95;
DRAWTEXT(DISPSTATUS=2 AND 止损,止损*0.995,NUMTOSTRN(止损,2)),COLORGREEN,ALIGN2 ;
STICKLINE(DISPSTATUS=2,止损,止损,70,-1),COLORGREEN,DOTLINE;
DRAWTEXT(DISPSTATUS=2,止损*0.995,'收盘破坚决止损'),COLORGREEN;
相关推荐
-
bbi指标设置:指标热键:BBI,参数值(指标设置):3、6、12、24。...股民学校 2015-1-26 11:16:270阅读
-
BBI指标,即多空指标,英文全名为"BullAndBearlndex",简称BBI,是一种将不同日数移动平均线加权平均之后的综合指标,属于均线型指标,一般选用3日、6日、12日、24日等4条平均线。...股民学校 2015-1-26 11:07:100阅读
-
bbi指标详解:BBI的周期也有多种选择,短线股民选择较短周期,长线股民选择较长周期。...股民学校 2015-1-26 11:05:250阅读
-
10月17日,互联网服务个股异动,索菱股份(002766)今日触及涨停板,该股近一年涨停11次。...个股 2024-10-17 13:09:000阅读
-
10月17日,非金属材料个股异动,沃尔核材(002130)今日触及涨停板,该股近一年涨停13次。...个股 2024-10-17 13:05:170阅读