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.

Another big trend is happening in the American home. Are you invested in it?
You know cable's going away, and it's probably happening faster than you think. There's $2.2 trillion out there to be had. Currently, cable grabs a big piece of it, and that won't last. When cable falters, three companies are poised to benefit. Click here for their names, and why they're positioned to explode in coming years. Hint: They're not Netflix, Google, or Apple.

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.