Commodities offer portfolio diversification, but investors must look at market factors to determine when to buy and sell.