U.S. equities were able to post gains in the final session of a wild week, but notched its tenth week of losses in eleven.