I understand and I agree with the algorithm logic. I wish there was a way to tell how many times a scenario I mentioned above was encountered as that may affect the validity of the backtest when stop loss and take profit are set too low.
Thanks for clarifying.