Stocks held solid gains through Thursday’s finish, aided by the first oil price gain in five days and by dovish comments from a Federal Reserve official. Preliminary data on the stock market today showed the Nasdaq, S&P 500 and the Dow Jones industrial average closing 1.8% higher and volume up a notch on the Nasdaq, down on the NYSE. Solar electrical systems makers posted some of the strongest gains among industry groups.