Brent crude was up $0.69, or 1.2%, at $59.39 a barrel by 1110 GMT, after falling 1% in the previous session, dropping for a third day in a row.
US West Texas Intermediate crude futures were up $0.74, or 1.4%, at $54.38, having also dropped 1% on Monday for a fourth daily decline.
Trump on Monday said he believed China was sincere about wanting to reach a deal, while Chinese Vice Premier Liu He said China was willing to resolve the dispute through "calm" negotiations, settling global markets.
"While 'de-escalation' and the expectation of a temporary truce in the trade war may be what is lifting sentiment and oil prices this morning, the resolution of the US-China trade rift will take time," said Harry Tchilinguirian, Global Oil Strategist at BNP Paribas in London.
"Oil prices appear to be getting a reprieve from the past week's US and Chinese announcements of retaliatory trade measures."
Oil prices have fallen by about 20% from 2019 highs reached in April, partly because of worries that the US-China trade war is hurting the global economy, which could dent demand for oil.
China's Commerce Ministry last week said it would impose additional tariffs of 5% or 10% on 5,078 products originating from the United States, including crude oil, agricultural products and small aircraft.
In retaliation, Trump said he was ordering US companies to look at ways to close operations in China and make products in the United States.
Meanwhile, US crude oil and gasoline inventories are expected to have fallen last week, while distillate stockpiles were seen higher, a Reuters poll showed on Monday.
Five analysts polled by Reuters estimated, on average, that crude inventories fell by 2.1 million barrels in the week to August 23.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ