Mr. Market has punished The Home Depot (NYSE:HD), Lowes Companies, Inc (NYSE:LOW), and especially Trex (NYSE:TREX) during the past few months as the housing market has stumbled a little. Foolish contributor Jason Hall takes a closer look at what's happening, and applies some solid long-term, forward-looking analysis to these companies, and the building-supplies market in general. 

Not sure what you should do? Check out the video below.

Jason Hall owns shares of Trex. The Motley Fool recommends Home Depot and Trex, and owns shares of Trex. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.