Ok my problem is this. i Have lets say 100 euros. and each day there is a random loss. but each day there is a 40% chance not to lose money or a 25% chance to save 5 euros from the loss.(if the random loss is 30 euros per example i lose only 25) so my question is any way to create an algorith that will give me the average daily protection (a percentage per example 30% protection. that will mean that i lose 30% less than what i suppose to lose.) from those two probabilities combined? thank you.