Earnings dominated trading activities, and the benchmark indexes hovered near record highs. GE, Verizon, P&G, Raytheon, Halliburton, and United Airlines reported strong quarterly results, but DR Horton, Ericsson, and Logitech fell short of expectations.