> I'd want to be able to define a model like "I think the fair value of a company is its net current assets plus its last 5 years of earnings", and have the tool email me whenever I can buy shares in any company substantially below that price, or sell them substantially above.
Be careful with investing using a model like this: you're basing the value of the company entirely on its historical performance and not at all looking at what its future may look like. It's a great way to end up in value traps.
Exaggerated example, you see Intel's stock price has taken a huge dive that puts it under your limit so you buy a bunch of the stock. But it turns out the reason Intel is now cheap is because ARM, AMD and NVidia have eaten its lunch, and its future looks incredibly shaky.
Likewise, selling stocks that are substantially above some past valuation is also a good way to exit from positions that are likely to continue to outperform. Stocks get "re-rated" by the market when their future prospects have improved. That's not a great time to exit the stock - if anything it's a time to buy more.
YMMV, value investing is still successful of course, but you do need to look forwards not backwards.