U.S. stocks traded in a narrow range on Thursday as investors eyed a heavy day of earnings and some economic data