Calculating risk-reward ratio R is easy when trading a straight forward strategy which has its entry and exit points clear:

risk = entry - stop
reward = take_profit - entry
R = reward / risk

But what if I have dynamic exit points? For example in a trend following strategy, which after the price moves up, I move my stop_loss to break even (entry). My #1 question is, which stop_loss prices should I use, the first one or the second(which would mean risk == 0 which is a "divide by zero " problem).

Let's imagine I also move my take_profit up a few candles after entering the position. My #2 question which take_profit should I use? The one I had in mind before entering the position or the one I actually closed the position with?

Since this is to evaluate the performance of a strategy, is it a good idea to calculate it this way:

R = average_gain / average_loss
  • $\begingroup$ do you mean Williams %R in technical analysis? $\endgroup$
    – develarist
    Nov 25, 2019 at 19:59
  • $\begingroup$ @develarist no I mean the risk-reward ratio. The first formula explains it simply. $\endgroup$ Nov 25, 2019 at 20:14

1 Answer 1


For anyone looking for this, I ended up calculating average_win and average_loss and then calculating the ratio as:

R = average_win / average_loss

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.