The Dow closed above 47,000 for the first time Tuesday, powered by strong earnings and falling oil prices amid hopes of a US-Iran deal.