Hi Eddieb, the way to minimize that is to look at the most recent high(for long trades) or low(for short trades) and place your SL about a few pips away from there. That should save you that pain most of the times.
Why is that helpful ? The reason is that the market is likely to do the same thing over and over again about 80% of the times. It does odd things in about 20% of the times.
Please keep in mind that because it seems strange behaviour to you may not necessarily mean that is true. It may very well mean that you didn't get the joke the price was telling you because you probably were not aware of that pattern.
Hope this helps>>>>