I think just like all TA, the timeframe, number of bars, "severity" of the move, etc, etc are all subjective. :eek:
I would say, make your number of bars an input and don't hard code it. Run it against various timeframes with various bar counts and see how it works.