US stocks ended a volatile session higher on Thursday as investors digested a stack of key earnings reports, with upbeat ...