invest if on the last 20 days the number of times close price passes
under the lower band is greater than the number of times close price passes
over the uppper band
invest if on the last 20 days the number of times close price passes
over the uppper band is greater than the number of times close price passes
under the lower band