Stocks rose as investors remained unfazed by geopolitical tensions, while the Dow kept marching toward 20,000.