I'm over 40 and where I work the average age of the developers have been over 40 for a fair while. Fortunately I work for a company supplying a vertical market where they value experience.
Does the rest of that market also value experience, or is your company an outlier? If the former, would you be comfortable sharing which vertical market?