Conflicting signals from the United States and Iran over the status of talks to end their five-month-old war boosted uncertainty on Tuesday, with the latest attack on shipping in the Strait of Hormuz highlighting risks to global energy flows.U.S. President Donald Trump said the talks were under way on Monday, warning of a "last chance" for Tehran to sign a good deal, but Iran denied that negotiations were being held or planned."They are going on right now," Trump told reporters at an Oval Office event when asked about the state of negotiations, saying the sides were talking at the request of Iran, Saudi Arabia, the United Arab Emirates and Qatar, among others."This is a last chance for them (Iran) to sign a good document."The comments followed Trump's weekend decision to call off "massive attacks" he said he had authorised on Iran, as talks were to be held, repeating a pattern in which he has vowed major strikes only to cancel them.No negotiations taking placeEarlier on Monday, Iranian Foreign Ministry spokesman Esmail Baghaei said no negotiations with the United States were taking place and no meetings were scheduled.Iran had no plans to host foreign delegations or send negotiators abroad in the coming days, he said.The only talks underway, he said, were discussions with Oman over management of the Strait of Hormuz.Shipping activity in the Gulf only reinforced the ongoing stand-off since Iran all but shut off transits through the vital route for a fifth of global shipments of crude oil and natural gas before it was blockaded in the war.One cargo vessel broadcast it had been hit by an unknown projectile near the strait off Oman's coast, the United Kingdom Maritime Trade Operations (UKMTO) agency said. Traffic through Hormuz remained largely slow, with three tankers and three bulk carriers among the six vessels transiting the strait on Monday, down from seven the previous day, Kpler data showed.Stocks rise, oil down on hopes for resolutionStill, hopes that U.S.-Iran tensions were easing again pushed down oil prices, while major stock indexes gained on Monday. Brent crude futures fell about 7% to around $83.77 a barrel while the Dow closed at a record high. Asian stocks and oil prices both edged higher on Tuesday.