Optimal allocation of trend following strategies