I would argue, broadly, that there is a finite value in the stock market we just don't know what it is (and it changes significantly) but I do agree with you that there are some very significant differences and is a potential flaw in the analogy.
Was the market hot in 2017, 2018, 2019?
It's easy to say "hot and cold", but those things aren't easily definable, but it would be easy enough to backtest any theory you have. I'm pretty skeptical it's going to be valuable without getting into PhD level math coupled with an experts understanding of global politics and trade.
The stock markets are cyclical - it's tough to see how we can continue to buy into a market that is considered overbought by many financial talking heads. Once returns materialize elsewhere + cap gains tax changes materialize I expect froth will come out of markets...