Rising gold prices helped push Canada's main stock index more than 240 points higher, while U.S. markets also climbed.