I'm a software engineer - that is what I know, and what I do. But I'm already above the "age ceiling" that we all know exists - but somehow (maybe due to the fact that I keep my skills current?) I have stayed employed and haven't been subjected (to my knowledge) to not being hired because of my age. I'm also not in SV or any other "high earning" area, and I like small "mom-n-pop" vs large established companies (with all the politics and other junk) - so I've never earned 6 figs - nor will I likely ever. But what I do earn pays my bills and keeps a roof over my head, and allows for entertainment for me and my family.
For now.
But someday that won't be there. Then what? Well - I intend to work until I die - that is, code forever. I know there are plenty of software engineers out there much older than I am who are still employed. So maybe it isn't as bleak as I think. But I do know this: When I am not employed, I can't just "go around the neighborhood" or "advertise on craigslist" or "hang out a shingle" that says "Got a broken fence? I can weld it for ya! Call me @ xxx..."
Which is something tradespeople can almost always do. In their "retirement years" they can become handypersons, do side-jobs welding or carpentry, or maybe simple auto repairs (or even more complex ones if they have the tools and strength left). Plumbing and electrical isn't out of the question either. They may not make bank, but they likely won't starve, either.
For myself? I'm not sure what I could do. One thing I do know I can do - just not well enough to be employed at it - is weld. I can also use a hammer, saw, plane, whatever - I do have some wood and metal shop skills. I also work on my own automobiles. Whether I could convince someone else to let me fix their issues - well, that's just some marketing and hopefully doing it right for them (just hand me that grinder and paint - I'm no tig stacked-dimes artist).
So there's that to be said about the trades - that it is something that can be done to keep some form of food on the table, even if it's just helping out neighbors for a few dollars. Nobody wants to hire an aging software engineer to code up a simple website or something like that any longer it seems. Those older SWEs typically find their gigs maintaining aging and creaking software in a language nobody uses any longer (and fortunately for me, I do have skills in Perl, VB3 thru 6, classic ASP, some COBOL - and it seems PHP may be headed that way too).