Oil headed for the longest stretch of weekly losses this year as central banks around the world stepped up the fight against inflation at the cost of economic growth.