How a trade ends, measured in ATR so it adapts to the market.
A stop is mandatory in TradeXtool. It sits a number of ATRs from the entry price. A target is optional.
A trailing stop follows the price at a fixed ATR distance and never moves back. It lets winners run, which a fixed target cannot.
If one candle touches both the stop and the target, the backtest counts the stop: we cannot know which came first, so we assume the bad one.
No indicator predicts the market on its own. Build the rule, then test it on years of history with fees included. Try TradeXtool free for 14 days.