Hello, thank you for your question.
If you have swelling in both of your legs, then it must be a systematic cause. As you already have systematic disease of Hypertension, hypothyroidism and high blood
sugar, you are likely to have swelling if these are not controlled.
So, the bottom-line is that you have to control these.
Next Steps
Take consultation from a good physician or endocrinologist.
Health Tips
You can do leg exercises as shown in the video https://youtu.be/H0K4I3LCLxU