The frontline indices ended with robust gains on Tuesday, extending gains for the third trading session. Positive global cues boosted the sentiment. The Nifty closed above the 17,450 mark. All the sectoral indices on the NSE were in the green with PSU bank, media and realty stocks gaining the most.