> For the complete documentation index, see [llms.txt](https://docs.itradingbot.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itradingbot.net/en/tools/calculations-and-verification/break-even-stop.md).

# Break-even stop

<mark style="color:$tint;">The break-even stop is a protective stop that becomes active after price has moved in the profitable direction. In the Backtester, it shows how protection based on the current average position price affects a strategy.</mark>

### How the two values are calculated

**BE trigger, %** <mark style="color:$tint;">sets the favorable price movement from the</mark> **current average position price** <mark style="color:$tint;">that activates the protection: upward for a long and downward for a short.</mark>

**BE stop level, %** <mark style="color:$tint;">sets the stop itself from the same average price: above the average for a long and below it for a short.</mark>

<mark style="color:$tint;">LONG example: the current average price is 100 USDT, the trigger is 1%, and the level is 0.2%. When price reaches 101 USDT, the protective stop is calculated at 100.20 USDT.</mark>

<mark style="color:$tint;">Averaging changes the position's average price. The break-even levels are recalculated from the new average, and protection arms again after price reaches the new trigger.</mark>

### Difference from the regular stop

* **Stop Market / Stop Limit** <mark style="color:$tint;">in the Backtester is measured from the first order price and does not follow the average price after averaging.</mark>
* **Break-even stop** <mark style="color:$tint;">is measured from the current average position price and is recalculated after every averaging order.</mark>

<mark style="color:$tint;">A 0% level is valid and places the calculated stop at the average price. It does not guarantee a zero financial result because fees still apply and the execution price can differ from the stop level.</mark>

### Availability

<mark style="color:$tint;">Any user can calculate a strategy with a break-even stop in the Backtester and its optimizer when the selected exchange is</mark> **BYBIT**<mark style="color:$tint;">. The block is visible but disabled for Binance.</mark>

<mark style="color:$tint;">For live trading, this setting is supported only by Bybit exchange-broker subaccount robots, called</mark> **Exchange Account** <mark style="color:$tint;">in the panel. Legacy Bybit API robots (Old Grid / API broker) and all Binance robots do not support it.</mark>

<mark style="color:$tint;">The break-even stop cannot be combined with the classic hedge robot. The block is disabled while hedge is enabled, and the calculation service rejects that combination.</mark>

### Configure it in the Backtester

1. <mark style="color:$tint;">Open the</mark> [Backtester](https://app.itradingbot.net/backtest-new) <mark style="color:$tint;">and select</mark> **BYBIT**<mark style="color:$tint;">.</mark>
2. <mark style="color:$tint;">At the bottom of</mark> **Risk Management**<mark style="color:$tint;">, enable</mark> **Break-even stop**<mark style="color:$tint;">.</mark>
3. <mark style="color:$tint;">Enter the</mark> **BE trigger** <mark style="color:$tint;">and</mark> **BE stop level**<mark style="color:$tint;">.</mark>
4. <mark style="color:$tint;">Validate the pair: trigger must be greater than 0, level must be at least 0 and strictly lower than trigger. Supplying only one value is invalid.</mark>
5. <mark style="color:$tint;">Run the calculation normally.</mark>

<mark style="color:$tint;">If you temporarily select Binance or enable hedge, the block is disabled and its tooltip explains why. The previous switch state returns only after every restriction has been removed.</mark>

### Behavior in the Backtester optimizer

<mark style="color:$tint;">The optimizer does not vary the BE trigger or level. It takes one pair from the main form and applies it to every variation. The fixed values appear below the variation count and in the best variation next to TP and the regular stop.</mark>

<mark style="color:$tint;">If values are present but a run excludes them because of another exchange or hedge, the result shows a red explanation.</mark> **Apply best** <mark style="color:$tint;">restores the exact BE pair used by that run. If the run did not use BE, the switch is turned off while the typed values remain in the fields.</mark>

<mark style="color:$tint;">Both cloud calculation and the local GPU mode support BE. With BE enabled, the local mode uses the full exact search and may take longer.</mark>

<mark style="color:$tint;">At present, a BE close increases the optimizer's total trade count but may be absent from its closure-reason breakdown. The displayed reasons can therefore sum to less than the total trades. A normal single backtest reports BE closures separately.</mark>

### Results and archive

* <mark style="color:$tint;">A single result has a separate</mark> **Closed by BE stop** <mark style="color:$tint;">reason.</mark>
* <mark style="color:$tint;">Multi-results have a</mark> **Closed by BE** <mark style="color:$tint;">column and summary value. These trades are excluded from the regular Stop Market column and are included in CSV export.</mark>
* <mark style="color:$tint;">The archive includes BE in the closure distribution and shows the saved pair in the collapsed row, for example</mark> **BE 1.00% / 0.20%**<mark style="color:$tint;">.</mark>

### Transfer to robots and presets

<mark style="color:$tint;">When transferring a strategy from a backtest result, unsupported robots are disabled in the recipient list. A stopped but compatible Bybit Exchange Account can be selected: the window opens its form with the fields filled, and trading begins only after the robot is enabled. Without an eligible Bybit Exchange Account, the BE strategy cannot be transferred. Opening the Backtester from a supported robot task preserves both values.</mark>

<mark style="color:$tint;">This is different from</mark> **Export tasks** <mark style="color:$tint;">on a robot page. That action creates live task copies, so a stopped recipient cannot be selected there.</mark>

<mark style="color:$tint;">The preset catalog's</mark> **To Backtest** <mark style="color:$tint;">action transfers the BE pair.</mark> **To Robot** <mark style="color:$tint;">does not transfer it; after the robot form opens, enable BE manually and check both values again.</mark>

<mark style="color:$tint;">In the terminal's order-grid optimizer, BE fields appear only for Bybit and remain fixed. Two empty fields mean disabled. Transfer to the order grid, robot creation, and direct launch include the pair only for a supported Bybit Exchange Account. A partial pair blocks transfer and launch.</mark>

<mark style="color:$tint;">For the main form, see</mark> [Backtester: first calculation](/en/tools/calculations-and-verification/backtester-first-calculation.md)<mark style="color:$tint;">. To read the output, see</mark> [Backtester results and archive](/en/tools/calculations-and-verification/backtester-results-and-archive.md)<mark style="color:$tint;">.</mark>
