U.S. crude oil closed slightly higher on Thursday, after earlier rallying with gasoline and as technical charts suggested a price rebound.
A two-week high in the dollar also reduced some of the upward potential for crude, even as a surge in share prices on Wall Street bolstered sentiment, oil dealers said.
U.S. crude for December delivery closed up 18 cents, at $45.38 a barrel, having briefly turned negative. It hit a three-week low of $44.86 on Wednesday.
Brent for December delivery rose 11 cents to $48.10 a barrel. The global crude benchmark finished down 86 cents, or 1.8 percent, on Wednesday, after hitting $47.50, its lowest since early October.
"The strength in products is definitely helping crude," Pete Donovan, broker at New York's Liquidity Energy, said, referring to the near 3 percent rise in gasoline prices.
"We also seem to be getting some short covering as support holds at $45 for WTI."