Hi, Welcome to Health care magic forum.
As you describe, you have the muscle twitching,besides your diagnosis,the other possibilities may be the deficiency of the vitamin D, and calcium, or electrolytes.
I advise you to consult an orthopedic surgeon for diagnosis and treatment.
I usually prescribe to my patient with such symptoms neurotropic injections for 10 consecutive days,and then periodically,calcium supplements
, and pain killers.
Avoid taking potato, other tubers,tomato,egg, chicken,and and sea foods.
Wishing for a quick and complete recovery. Thank you.