Salary for a job is dependent on Supply - Demand principle.
Salary also depends on
- Availability of labor, More the availability lesser the salary
- Impact of the job, Automation / Large scale impact will have higher wages
- Not just skill but also impact of job plays a role
- Teaching, Doctor are jobs that may not pay as much as Engineers but they play a crucial role in shaping next generation
We don't get X salary for what we do today. But knowledge workers it's all about how relevant, practical the ideas are with respect to impact/implementation. Salary is not about experience/education, It is more about awareness, understanding, and designing things to let your customers take a lead and reap the technology to take business to next level.
Sometimes you need to stand out of crowd to get new perspectives, ideas, etc..
Keep going, Go for regular knowledge maintenance and Upgrade!!!