I apply what I've learned/read from cycling/mtbing. Ive turned several of my friends onto this of varying ability levels/body types, and they all do better.
Via road biking university studies: 1-2g of carb/kg lean body mass/hr of hard exertion.....during the effort. I find 1g carb per kg per hr is good, with a 3 hr max.
So, if I'm hiking a 14er for several hours, I bring 3hrs worth of energy drink/sugar mixed in a gallon of water in a Camelbak rez. I weigh 68kg, so I bring @200g of powder (powder is prettymuch pure carbs) mixed in the water.
I use Cytomax, you can pick it up at Performance bike. Works like a charm. You'll have lactic acid buffers, hydration, and energy.
For breakfast I eat a bowl of brown rice and four eggs. Easy to digest, and all your macronutrients.
On the trail I bring baggies of rice with raisins mixed in. Ratio is about 1/2 cup dry rice (cooked of course) with 60g raisins. If you use brown rice, this gives you a few grams of fat, and 2/3 of your carbs from starch, 1/3 from sugar, much of it in the useable form of glucose (raisins are half glucose). This is the basic ratio of most good performance bars.
Fat generally will slow down your system while under exertion. That means nuts. On 14er hikes, you are generally moving hard enough to get your heart rate above 150-160 beats per min, at which point fat is not the best fuel.
On the top, I eat some baked chicken thighs and more rice. Fat, protein, and carbs, simple, easy to digest. Then chill with the views for a while.
Drink the Cytomax all the way up and down, and use the rice/raisin mix. Eat and drink BEFORE you are thirsty/hungry.....if you feel hungry its too late. Altitude complicates this by supressing hunger/thirst.
When you are finished, if you have worked hard enough to earn it, your muscles will be extremely glycogen receptive. There is a proven window 1hr after exertion. So carb load then, you'll recover faster and be less sore. The ratio then is 1g carb/kg lean body mass/hr, 2 hrs worth works best. Mix your favorite protein powder in this after-cocktail at the ratio of 4g carbs to 1g protein. Drink RIGHT after you get finished, over one hour.
You'll be a machine.