US stock exchanges post 3rd straight winning week