Nine smallcap stocks gained for five straight sessions even as the Sensex remained flat, highlighting selective strength in the broader market.