M1:=3;
M2:=6;
M3:=12;
M4:=24;
N1:=8;
N2:=26;
bbi:=(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;
BBI偏离:(C-BBI)/BBI*100,COLORSTICK;
A1:EMA(BBI偏离,N1);
B1:EMA(BBI偏离,N2);
NOTEXT:0,COLORYELLOW;
M1:=3;
M2:=6;
M3:=12;
M4:=24;
N1:=8;
N2:=26;
bbi:=(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;
BBI偏离:(C-BBI)/BBI*100,COLORSTICK;
A1:EMA(BBI偏离,N1);
B1:EMA(BBI偏离,N2);
NOTEXT:0,COLORYELLOW;