I understand you.
When my son was in the same age like your daugther now, he was malnutrition too, because he had always diarrhea from milk. But after a one year it was over, now he eats much, but he is still thin. Does your daugther has her milk allergic since she was a baby?