Option 1: Take a smaller position size and move the stop wider so it does not get taken out.
Option 2: "To avoid whipsaw losses, stop trading." -Ed Seykota
Option 3: execute stops manually after a candle closes below the trigger level (this option is used by many traders in many instruments).