By Ryan Vlastelica
NEW YORK (Reuters) - Stocks ended slightly higher in a third session marked by late-day swings, but the Nasdaq fell after NetApp gave a weak revenue forecast, casting doubt on the outlook for tech spending.