Anupam Singhi, COO, William O Neil India said, "In today s trading session, the benchmark indices built-up on yesterday's increments to end the day with significant gains".
The NSE Nifty rose by 55.60 points or 0.61 per cent to close at 9,100.80 points, while the Sensex closed at 29,409.52 points - up 172.37 points or 0.59 per cent.
Breaking the three-day gaining streak, the key Indian equity indices closed on a flat note on Friday - the last day of the financial year 2016-17 - as negative global cues hampered investors' sentiments. The BSE Small-Cap index provisionally rose 0.31 per cent.
Among the BSE sectoral indices, Oil & Gas index closed with the biggest gain, up 1.9 per cent.
The 50-share NSE Nifty edged higher by 29.95 points, or 0.33 per cent to a record closing of 9,173.75 after hovering between 9,183.15 and 9,136.35. BSE Sensex closed at 29,620 levels, down by 26.9 points or 0.09%.
However, Hero Motoco fell 3.08 per cent, Sun Pharma 1.57 per cent, Aurobindo Pharma 1.29 per cent, Grasim 0.73 per cent and Tata Motors 0.71 per cent.
Major Sensex losers were: ONGC, down 1.34 per cent at Rs 184.45; Coal India, down 1.33 per cent at Rs 290.15; Tata Steel, down 1.08 per cent at Rs 478.15; Axis Bank, down 0.97 per cent at Rs 499.05; and Infosys, down 0.66 per cent at Rs 1,024.50.
The Indian rupee strengthened by seven paise to 64.85 against a U.S. dollar from its previous close of 64.92 to a greenback.
Market breadth was positive with 1,227 advances against 795 declines. Provisional data with exchanges showed that DIIs bought scrip worth Rs 1,283.03 crore, while foreign institutional investors (FIIs) purchased stocks worth Rs 460.98 crore. Asian currencies traded weakly.
"The automobile sector was in for a shock after the Supreme Court banned vehicles which did not meet the BS III (Bharat Stage emission III) standards".
Heavy selling pressure was witnessed in banking and IT stocks. The total turnover rose to Rs 4,953.97 crore from Rs 4,606.56 crore yesterday. Shanghai Composite, however, shed 0.23%.
Overseas, Asian markets closed lower as the quarter drew to a close, with investors ignoring better-than-expected U.S. economic growth data.