The Nasdaq was higher for the 11th consecutive session as investors looked past the conflict in the Middle East.