I too have noticed this ache/pain in my hips that you describe.
I have found that heat works to relieve the pain but lately have discovered that if I eat less wheat products that I don't have the pain as much.
I've not cut out wheat altogether, I still eat a little of the wholegrain and seed bread that I make myself and that seems to be ok.
I discovered that as I have begun my perimenopausal journey, my body reacts differently to different foods. I'm learning to eat what nourishes me and makes me feel good.
Not sure if that would be helpful to you but it seems to be working for me right now.