NEW YORK - Stocks closed mostly lower on Thursday, with chemicals and agricultural companies taking the largest losses. The price of gold continued its long surge. Trading was quiet on the final day of a stormy first quarter that produced surprising gains.