Skip to main content

Stop-loss and take-profit

How to attach protection levels on entry and edit them later. For strategy-level protection, see Trade levels. For order placement basics, see Order types.

← Trade overview · Leverage and margin


Quick start​

On entry:

  1. Toggle Auto-close (TP / SL) on the order ticket
  2. Set your Take Profit price or percentage
  3. Set your Stop Loss price or percentage
  4. Place your order — protection attaches automatically

On an open position:

  1. Click the position row in the Positions tab
  2. Select Edit TP/SL
  3. Adjust prices or percentages
  4. Tap Update to save

Attaching TP/SL on entry​

When you toggle Auto-close (TP / SL) on a Market or Limit order:

FieldWhat to enter
Take Profit priceThe price where you want to lock in gains
Take Profit %Target as ROE (e.g., +25% return on margin)
Stop Loss priceThe price where you want to cut losses
Stop Loss %Maximum loss as ROE (e.g., −10% of margin)

Quick chips let you tap common values: +10%, +25%, +50% for take-profit, and −5%, −10%, −25% for stop-loss.

The Est. pill shows your estimated profit or loss in dollars if that level is hit.


TP/SL settings on entry​

SettingWhat it does
Price fieldSet the exact trigger price
Percentage fieldSet the level as ROE — auto-calculates price
Preset chipsQuick-fill common percentages
Est. pillShows estimated P&L at that level

Both TP and SL are reduce-only orders — they can only close your position, never flip it.


Editing TP/SL on open positions​

Once you're in a position, you can adjust or remove protection:

ActionHow to do it
Edit TP/SLClick position row → Edit TP/SL → adjust prices → Update
Remove TPSet take-profit price to empty → Update
Remove SLSet stop-loss price to empty → Update
Add protectionSame flow — fill in the price or percentage

Changes take effect immediately on the exchange.

Market vs Limit execution​

For each leg (TP and SL), you can choose:

ExecutionWhat happens when triggered
Market (default)Fills immediately at best price — guaranteed fill, possible slippage
LimitRests at your limit price — no slippage, but might not fill in fast markets

The toggle appears when editing TP/SL on a position.

Limit buffer​

When using Limit execution:

SettingWhat it does
BufferHow far from the trigger to place the limit (e.g., 0.1% better)
Preset chipsCommon buffers: 0%, 0.1%, 0.5%, 1%

A larger buffer increases fill probability but may give up some profit. The default for take-profit is 0% (fills at the exact trigger); the default for stop-loss is 1% (gives more room to fill).


Exchange stop vs candle-close stop​

Two kinds of stops exist in BattleGrid:

TypeWhen it triggersWhere it lives
Exchange stopImmediately when price touches the levelOn the exchange (Hyperliquid)
Candle-close stopOnly when a candle closes below the levelIn your strategy's exit policy

Exchange stop​

  • Triggers on any price touch, including wicks
  • Executes immediately — no delay
  • Set via the order ticket or Edit TP/SL dialog
  • Protects against sudden moves

Candle-close stop​

  • Only triggers if the candle closes beyond the level
  • Ignores wicks that recover before close
  • Configured in Exit policy
  • Gives the trade more room to breathe

Most agent-opened trades use both: the strategy sets a candle-close stop for normal exits, and an exchange stop as catastrophic protection.


Worked example: attaching TP/SL on a long​

Setup:

  • Opening a long on ETH at $3,000
  • Position size: $1,000 (at 5× leverage, so $200 margin)
  • Target: +20% ROE
  • Risk: −10% ROE

Steps:

  1. Set side to LONG, size to $1,000
  2. Toggle Auto-close (TP / SL) on
  3. For Take Profit, tap the +20% chip (or enter $3,120)
  4. For Stop Loss, tap the −10% chip (or enter $2,940)
  5. Place the order

What happens:

  • Your long opens at $3,000
  • Take-profit rests at $3,120 (reduce-only)
  • Stop-loss rests at $2,940 (reduce-only)
  • If ETH hits $3,120, you close for +$40 profit (+20% ROE)
  • If ETH hits $2,940, you close for −$20 loss (−10% ROE)

Good to know​

  • TP and SL are reduce-only — they can only close, never open or flip
  • Editing replaces the existing order — no need to cancel first
  • Both legs are optional — you can set just TP, just SL, or both
  • Price and % are linked — change one and the other updates automatically
  • Est. pill shows P&L — red for losses, green for gains
  • Standalone stops — to place a stop without attaching to an entry, use Stop Market or Stop Limit order types

Advanced: how protection attaches under the hood

When you place an order with TP/SL enabled:

  1. Entry order posts to the exchange (market or limit)
  2. Once filled, the platform sends TP and SL orders in a bracket group
  3. TP and SL are linked — filling one cancels the other (OCO behavior)

If your entry only partially fills, protection scales proportionally.

Advanced: agent-level stop overrides

Agents can automate stop adjustments via Exit policy:

FeatureWhat it does
Break-even stopMoves stop to entry price after reaching a profit threshold
Trailing stopFollows price as it moves in your favor
Time-decay stopTightens stop as time passes

These run on candle closes and update the exchange stop — they don't replace it, they move it.

Manual stop overrides (via Edit TP/SL) work the same way — they update the resting exchange stop.

Advanced: why both stop types exist
ScenarioBest choice
Volatile market with frequent wicksCandle-close stop — avoids stop-hunting
Flash crash protectionExchange stop — guaranteed execution
Normal tradingBoth — candle-close for exits, exchange stop as backup

Strategy-opened trades typically set the exchange stop at a wider level than the candle-close stop. The candle-close stop exits gracefully; the exchange stop catches catastrophic moves.


← Trade overview · Leverage and margin