Unfortunately it is extremely difficult for retail investors to know the true quality of a stock.
In most market transactions the person selling the stock believes the stock is overvalued.
I've purchased stocks which I thought were a great value only to discover later that there was a problem in the market that was pushing the value of the company down.
!BEER
RE: Invest in Quality Stocks when they are Cheap