Is a weaker dollar good for oil prices?

Oil prices have been going up. Economists believe it is largely due to the weaker dollar and a stronger U.S. equity market.