A rally in equity markets around the world from growing expectations that global economies would take action to counteract slowing growth also supported oil prices, which often follow stocks.