Stocks closed broadly higher on Wall Street, breaking a three-week losing streak. The benchmark S&P 500 index rose 1.5% on Friday, but is still well below where it was in mid-August. Big gains for technology companies pushed the Nasdaq composite even higher. The Dow Jones Industrial Average also climbed, as did small-company stocks. All 11 industry sectors of the S&P 500 rose, including energy stocks, which caught a break from recent declines thanks to an upturn in oil prices. DocuSign rose sharply after the electronic signature company reported strong second-quarter sales and raised its subscription forecast.