Shares typically gain when a stock is added to a major index, because mutual funds and other investments that are based on that index must make purchases to align their holdings.