This is Dr. David
I am sorry you are having leg cramps.
you could be low in potassium or magnesium levels causing your leg cramps.
you should get blood testing to check if these levels are low in your blood.
if these are low, you need to take potassium supplements or magnesium supplements to get the levels up.