The Dow struggled to extend its four-day rally into a fifth straight session as the stock market braced for an earnings disaster.