Oil prices edged higher on Tuesday after five days of declines as the United States and China prepared to sign a preliminary trade deal and as Middle East tensions eased.