All three major U.S stock indices pulled back this week, as earnings season wound down and retail earnings presented a mixed picture of the economy.