US stocks recover from earlier losses and close higher. S&P index closes just below record levels

Major indices end higher on the week 
The US major stock indices recovered from earlier losses. The move higher was helped by positive comments about US China trade progress.