Everything could happen without permission and as long you already replace stop loss that's enough. People more focus with profit but ignore safety, that's wrong because safety is first thing should be done before enter market. When your prediction goes wrong you only see it as reality and find the mistakes before replace open position again. No need debate about this is " X " factor or not because the player and have control with fund is only you.
Then we should have to correct our mistakes for it will not happening again.
It is very important to know the market's behavior before taking the risk but unfortunately, some traders don't have that kind of approach, they act differently which brings them to a losing ends. We always have to remember that in trading nothing could help us but just ourselves only. Don't get disappointed because of experiencing losses, everyone makes mistakes and doesn't get feel bad but take this as an opportunity to learn and fully understand the market behavior.