October’s wild trading could give way to a new stock rally, as earnings roll out in week ahead