I've heard garlic/mullein oil works wonders for ear aches and infection. I've recently had a Terrible cold with aching ears and headache that got worse and unbearable by the day so I bought some garlic/ mullein from the local health store and within two applications the ear pain and headache dissapeared. When my 11 month old son caught my cold, I put one drop of an ear remedy by Gaia herbs called ear drops for children which includes mullein flower oil, St johns wort,garlc oil, goldenseal extract, lobelia herb, and olive oil in his ear, three times a day for about 4 days from the start of his cold. I didn't want to take any chances of him getting an ear infection. But it's important not to put anything inthe ear if there is a ruptured ear drum. I also gave him an immune support Formula called sambu gaurd For children for about a week at the start of his cold, which contains echinacea and elderberry. Other than having a runny nose and some congestion, my son was acting normal and happy with his cold. I've noticed him tugging at his ears for a day or two but he's fine now. I also have him on probiotics which works wonders for him.
Have you looked into allergies for your daughter? Hidden allergies/ intolerance may be causing ear problems and migraines for your baby.
If what she is having are teething pains, I've used camilia teething relief by boiron which worked well for my son.
Im so sorry you are going through this. Like the others mothers suggested maybe taking her to a ent migt help figure out what is causing her distress.