TORONTO - Energy prices helped the TSX post a gain Monday, while U.S. markets were mixed as the Dow posted a record high.