← Knowledge Base

What happens if stop loss and take profit are both inside the same candle?

On a candle where both levels are touched, the exact order can be ambiguous unless lower-timeframe price movement is available. For best accuracy, use the smallest practical playback step when managing active trades.

This is one of the most asked objections to bar-based backtests. If the candle's high and low both touch the stop and the target, a daily or hourly bar cannot prove which one printed first. Assuming the target came first inflates the result.

TestingView does not pretend to know. On a single candle the order can stay ambiguous unless a smaller playback step shows the path. When a trade is open, use the smallest step the chart can honestly play.