The ASX has surged back and broken a days-long losing streak - after better than expected inflationary data out of the US sent markets higher around the world.