The market breadth was positive, with more stocks advancing than declining, as the indices traded near key resistance levels.