U.S. stocks closed at highs Friday after a resolution between Greece and its creditors in the eurozone. In international economic news, Greece and eurozone finance ministers reached deal to extend the Greek rescue by four months. In corporate news, Deere said that it earned $1.12 per share for its latest quarter, well above the 83 cent consensus estimate, with revenue also beating forecasts. However, the farm machinery manufacturer highlighted difficult global market conditions and said that it expected a 17-percent drop in equipment sales for 2015. Barclays downgraded Wal-Mart to "equal weight" from "overweight," saying that the retailer is unlikely to see near-term benefits from its just-announced increase in wages that offset the higher expenses. The dollar traded lower against major world currencies. Light sweet crude oil for March delivery dropped 82 cents to $50.34 a barrel on the New York Mercantile Exchange, while gold futures fell $2.70 to $1,204.90 an ounce. The Dow Jones industrial average climbed 154.67, or 0.86 percent, to 18,140.44. The broader Standard & Poor's 500 index added 12.85, or 0.61 percent, to 2,110.30. The technology-heavy Nasdaq composite rose 31.27, or 0.63 percent, to 4,955.97.