Investors Are Betting Corporate Earnings Have Turned a Corner

Investors are entering third-quarter earnings season with brighter expectations for corporate profits, a bet they hope will propel the next leg of the stock …