Trend-following funds, which use quantitative models and algorithms to trade market moves, have traversed the recent wild swings in gold and silver.