The major U.S. indexes moved higher this week as companies posted exceptional first-quarter earnings.