As noted the stop loss really can be set where you think the market is telling you that you were wrong. I would only do a mental stop loss if you are trading something that is very spiky.
If you are saying right after u get stopped out then the market is moving in your favor, the solution is to use a wider stop loss.
If you are saying right after u get stopped out then the market is moving in your favor, the solution is to use a wider stop loss.