The formula linked to below was originally used, I think, in the context of estimating trip EV given possible ruin. I'm trying to figure out a way to adapt it for a different purpose:
Let's say you have a good opportunity, at which you will be flat betting, and you "know" that you'll burn it out if you win more than X units or lose more than Y units in one session. So you will quit as soon as you hit the win or loss ceiling. There must be a formula to describe session expectation.
I'm thinking it may only require a minor adaptation of the formula given in the link below. Maybe it will be fairly obvious for someone who can break down Kim Lee's formula into it's component parts. Any suggestions?

