I am a bit shy of 50 and still love to code. I have done a lot of different things over the years. Mostly back end stuff, a lot of PHP.
You could probably do the same thing. Learn something new and hot and combine it with your deep experience base and use the combination as a force multiplier.