US stocks have closed higher after a three-day decline but sharply pared gains late in the session as oil dropped to near seven-year lows and the strong US dollar weighed on sentiment.

US stocks have closed higher after a three-day decline but sharply pared gains late in the session as oil dropped to near seven-year lows and the strong US dollar weighed on sentiment.