I updated the minimum/maximum on the upper and lower bands to instead be open rather than src[1]. This should prevent the strategy from entering buys/sells when the price is moving in an undesirable direction just because the daily open was higher than the previous days close.