This is a technical point, but in my opinion it's also an important conceptual point. Stock market prices do not rise because dollars are flowing into them.
That's incorrect. New capital flows into or out of the market constantly. Very frequently the market sees immense net cash flow in, for example typically toward the end of an expansion and just before the next recession or crash. Joe & Jane investor tend to be very late to the party, especially after getting burned badly by the last two asset bubble parties, they joined this one quite late into the expansion.
Large amounts of capital - trillions of dollars in the US alone - are essentially always sitting on sidelines, sometimes more of it moves into the market, sometimes more of it moves to 'safety' and out of the market. You can track these capital in and out flows, it's mostly public information.
For example, this huge burst after the election:
"A whopping $63 billion has poured into U.S. stock funds since Donald Trump won the presidential election, according to the latest tally by Bank of America Merrill Lynch. ... Investors have yanked $37 billion from bond funds since the election. Most of that money rotated right into stock funds. This "great rotation" could be a major story in 2017."
http://money.cnn.com/2016/12/19/investing/investors-pour-63-...
To make this more concrete, let's imagine how this actually happens. Joe & Jane send $10 to a stock fund. The fund places a market order to buy stock. The market matches the buy order with the lowest sell offer. The fund sends the money to the seller, and the seller sends the stock to the buyer. At the end of the transaction, both the amount of money is conserved (J&J are down $10, but the seller is up $10) and the amount of stock is conserved (J&J have one additional share and the seller is down one share). Money did not move "into" the market. On the opposite side of every buy, there is a sell. For every dollar that J&J sink into the market, sellers are pulling exactly that many dollars out.
As the article you link says, there can be net inflows into stock funds. But that's only possible because there are entities besides stock funds that have equal and opposite outflows. In aggregate, buying stock cannot put money into the market because every purchase is also a sale.
Buy bids/orders being matched with sell orders/bids would imply zero net cash flows only if prices were constant.
In this scenario, the price of the stock increased from $10 to $11. But still, there was no net cash flow into the market. Bob put $11 in and simultaneously Sally took $11 out.
Even when stock prices change, net cash flows are zero. Every buyer is always matched with a seller. Every dollar that goes into a trade comes out on the other side.
Markets aren't just a pipe or a screen where stuff goes through, at least in economics. The market isn't just the market mechanism, but rather that mechanism plus the collection of all possible buyers and sellers at any given time. If all we have is Sally and Bob talking over the phone with their portfolios in stocks and cash, that's the market.
Now, you're right that no money entered the market when Bob bought that share. But if someone who had no interest in either buying or selling stock handed either Bob or Sally $11, that would be $11 going into the market. If Bob took those $11 as a loan from Chad while Chad himself had no interest whatsoever in what Bob would do with it as long as he paid them back, that would be money going into the market.
Also, I reckon I changed my initial position. But I'm also rather drowsy right now.
> If more people invest more [...] the value increases
If you have just Bob, price goes to 11$.
If you have Bob, Charlie, and Darrel willing to pay, wouldn't the price possibly go to 12$?
In this situation, there were 3 buys and 3 sells. $11+$12+$13 flowed into the market while at the same time $11+$12+$13 flowed out of the market. At the end of the day, even though the share price rose, there were an equal number of buys and sells, with equal inflows and outflows.
A higher stock price does not mean the company has more dollar bills in its vault and investors have less. A higher stock price means that stock traders in aggregate now think the company is worth more.
Cash flows through markets, it doesn't flow into markets.
(Technically what this means is dollars are not 'invested in the stock market.' People are not investing 'more.' Prices going up does not mean more money is being invested in the stock market.)
And, my personal opinion, more "less-skilled" people entering the market = even easier to raise prices (exactly like in street markets with tourists vs locals).
I'm not sure why you pointed that out. Of course my data speaks about the companies, the future potential earnings of said companies is mostly what is being (over) paid for.
If you assume the number of companies and shares is constant, then the value increases. Why some companies and not others? Maybe their ability to attract these money.
(The amount of companies/stocks isn't constant, I agree, that's why I was comparing relative growth.)
It isn't some companies, it's most of the public companies containing substantial invested capital. The S&P 500 earnings multiple has gone up ~60% since 2011. Currently near 25 times, it's at roughly the second highest non-recessionary level in US history.
I think the rest of my argument still holds, more availability of cash = increase value. (I actually just noticed that the top comment says basically the same.)
If more people invest more (compared to the growth of companies/stocks) the value increases.