I've been beta testing a new backtesting and analysis package called EdgeRater which can easily do this, and give you interesting statistics on the outcome of trading either long or short over a number of stocks and periods. Looks like the beta program is still open if you want to try it out...