Hi.

I´ve seen all your threads concerning BBands.

The problem is simple, BBands in TA-lib is buggy, especially for intraday ranges. The solution is here:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=441209

If you use hourly or daily bars is unlikely for this error to appear.

Hope it helps.