The Dow and Nasdaq are both at multi-year highs, but investors should be wary as the indexes hover near key milestones.