Sounds like a good idea. I'm not sure that time-frame can be considered statistically reliable. Then again, markets change: it also all depends on the time-frame between the buy and the sell. I assume you are daytrading or intra-daytrading. Anyway, I guess this isn't the place for non-Perl trading talk, so good luck in your trading!