I am a nurse and have suffered from migraines since I was in my 20's. I am now 40 and finally went to a neurologist that specializes with migraines. I have tried every type of migraine medication(even herbal). You need to confirm that your migraines aren't related to your cycle (hormone levels) or something in your diet. There are so many different types of medications. Some work for me one week and next week they don't. I alternate my medications. You need to try to find one that works for you.
I also had difficulty sleeping. My headaches would wake me up or I would wake up with one much worse. My doctor prescribed be Sonata which helps me sleep. This helps you get to sleep without becoming addicting like Ambien. I hope this helps!
I too have chronic migraines.
When the leg discomfort interferes with sleep, more symptoms may develop, like fatigue and aches and pains.
You should consider taking magnesium supplements.
Although magnesium oxide is cheap and widely used in multi-vitamins, it is not absorbed well in the intestines.
Look at the list of ingredients on the bottle, and choose mag taurinate or mag glycinate.
Source Naturals Ultra-Mag is a good example.
http://www.iherb.com/ProductDetails.aspx?c=1&pid=1415
Here is one article I found for you regarding restless legs and magnesium:
http://www.mothernature.com/Library/Bookshelf/Books/23/126.cfm
Supplemental magnesium is helpful for migraine.
Omega-3's in fish oil supplements are helpful for migraine.
Here are two references about that:
FISH OIL FOR MIGRAINE
http://www.headaches.org/consumer/topicsheets/fishoil.html
Alternative Headache Therapies
http://www.emaxhealth.com/110/3039.html
Wishing you the best,
Carol