N:=11;
M:=6;
M2:=5;
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);
XG:((UPR-DWN)/DWN)*100<=M2 AND C>BBIBOLL;
N:=11;
M:=6;
M2:=5;
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);
XG:((UPR-DWN)/DWN)*100<=M2 AND C>BBIBOLL;