Nifty opened with a slight gap-up and traded higher after some intraday consolidation. In the afternoon session, it witnessed a profit booking and touched its previous falling trend line on the daily time frame. Nifty closed higher around 24 points or 0.14 per cent to close around the 17,624 level. S&P BSE Sensex also closed flat with a rise of 13 points. Nifty Mid-cap 100 and Nifty Small-cap 100 rallied 0.38 per cent and 0.28 per cent respectively.