FTSE 100, S&P 500 and Nasdaq enjoy best week in months as investors look for oversold stocks