The S&P BSE Sensex closed with gains of more than 100 points while the Nifty50 held on to 18,100 levels for the week ended 4 November.