I used to have this pain for years too growing up but my parents never had the money for a doctor visit. I believe it to be very poor circulation . Exersicing her legs would help the restless and painful feeling. Have her drink a tall glass of milk before bed. The magnesium in the milk helps to relax your muscles. At bedtime, have her wear as little clothes to bed at possible. During the day, only have her wear comfortable , loose fitting clothing. Have her wear socks and shoes only when needed. I would let her little footsies breathe. Look into child massage too. it would work miracles! Or, just do it yourself.(Remember, always massage towards the heart to aid in circulation, from the feet to the heart, from the head and arms, to the heart) Let me know if any of this helps:)I hope your daughter feels better!:)