Stock market in turmoil, indices with moderate gains