US oil settles up 1%, at $46.75 a barrel

Crude shrugs off strong dollar, moves higher
Oil prices have hit bottom? This expert thinks so
The downside risks for oil in the near term

Crude futures lost steam after rising more than 4 percent on Thursday on the strength of equity markets and as a respite in bad news out of China and the potential for more European monetary easing added to risk taking in oil.

But stock market rally faded in afternoon trading. Oil prices had come off the morning's highs by noon, likely factoring in the prevailing weak fundamentals for crude after Wednesday's data showing a big build in weekly U.S. inventories.

Read More When crude is far cheaper than gasoline, middlemen win

U.S. crude's front-month closed up 1 percent, at $46.75 a barrel. The front-month contract in , the global benchmark for oil futures, briefly turned negative and was up 27 cents at $50.80 a barrel. It had risen more than $2 earlier in the day.

"You can call it a risk on day," said Tariq Zahir, a trader in crude oil spreads at Tyche Capital Advisors in Laurel Hollow, New York. "It's reminiscent of yesterday's action when crude moved up with equity markets even when fundamentals were weak."

Oil workers change a drill pipe on n the Laurus oil drilling rig off the coast of Ciudad del Carmen, Mexico.
Susana Gonzalez | Bloomberg | Getty Images

Stocks on Wall Street rallied earlier on expectations that a positive U.S jobs report for August, due on Friday, would feed into the Federal Reserve's decision on the timing of a rate hike.

Adding to the support for oil was the European Central Bank's pledge to keep monetary policy loose and to act promptly when needed, due to weak inflation and growth forecasts.

Read MoreExpect more wild swings for crude oil: Technician

In China, markets closed for public holidays for the rest of the week, helping oil prices stabilize from weeks of huge swings due to the equities collapse there.

Over the past two weeks, U.S. crude has see-sawed, climbing almost 28 percent over three trading sessions into Monday—its biggest such gain since August 1990. It had plunged to a 6½-year low of $37.75 early last week.

Brent has been similarly erratic, gaining 28 percent over the last week in August to a one-month high above $54 before dipping back under $48 on Wednesday.

Data from the U.S. Energy Information Administration on Wednesday showed U.S. crude stocks rose by 4.7 million barrels in the week to Aug. 28 to 455.4 million, the biggest one-week rise since April.

Read MoreSaudis to talk output cuts when crude dips below $44: Trader

Harry Tchilinguirian, head of global commodity strategy at BNP Paribas, said Friday's weekly data on the U.S. oil rig count would be pivotal to direction.

The rig count has risen for six consecutive weeks so far. Any drop will alleviate oil's weak outlook.