Gold’s weekly and yearly gains are outperforming the stock market.