Stocks closed higher Friday, extending a record-setting drive for major indexes. The Standard & Poor's 500 index and Dow Jones industrial average closed out their sixth straight week of gains. Both indexes also finished at record highs for the fifth day in a row. Banks and technology companies had some of the biggest gains as investors cheered strong quarterly results.