Earnings are a mixed bag: Tech shares have been the biggest drivers this week, boosted by strong earnings from Apple(AAPL) and Facebook(FB). But weak results from Amazon(AMZN) and Expedia(EXPE) put pressure on the sector Friday.
Expedia shares plunged after the online travel company plunged 24% on a worse-than-expected earnings report.
Halliburton(HAL) stock rose nearly 4% after the Justice Department said the oilfield services firm would plead guilty to destroying computer test results that had been sought as evidence in the Deepwater Horizon disaster.
Tesla Motors(TSLA) shares gained after Deutsche Ban(DB)k upgraded the electric car maker.
Among the companies scheduled to report next week are energy giants Exxon(XOM) and Chevron(CVX).
More than half of the companies in the S&P 500 have reported results for the second quarter, with 66% of them topping analysts expectations, according to S&P Capital IQ.
Earnings growth has been strongest in the financial and consumer discretionary sectors, while materials and telecommunications companies have seen profits decline.
In economic news, the University of Michigan and Thomson Reuters said a key measure of consumer sentiment rose to 85.1 in July, the highest level in six years.