Stop Loss
Set or update stop loss orders for one or more trades, providing critical risk management to protect your positions from excessive losses. The Stop Loss rule offers multiple methods for calculating the stop loss price and includes advanced features such as trailing stops, silent orders, and a scale out calculator for tiered stop loss strategies across multiple positions.
How It Works
The Stop Loss rule accepts a list of trade IDs and applies a stop loss order to each one. You choose the method for calculating the stop loss price based on your strategy's needs. The available calculation methods are:
- Price — Sets the stop loss at a specific, absolute price level that you define.
- Pips — Sets the stop loss a specified number of pips away from the trade's entry price.
- Breakeven — For profitable trades, moves the stop loss to the entry price so the trade cannot become a loss. For trades that are currently in a losing position, the trade is closed immediately.
- Amount — Sets the stop loss at a price that corresponds to a specific monetary loss amount, calculated from the entry price.
- Distance Pips — Sets the stop loss a specified number of pips away from the current market price, rather than the entry price.
- Distance Amount — Sets the stop loss at a price that corresponds to a specific monetary loss amount, calculated from the current market price.
The Trailing option automatically adjusts the stop loss as the trade moves in a profitable direction. This locks in profits while still providing protection against reversals, making it ideal for trend-following strategies where you want to ride a move as far as it goes.
The Silent option keeps the stop loss order on the system side rather than sending it to the broker. The system monitors the market and only places the closing order when the stop loss price is reached. This can be used to hide your stop loss levels from the market.
The Scale Out Calculator enables tiered stop loss strategies across multiple trades. The first trade's stop loss is set according to the main configuration, and subsequent trades receive stop losses calculated by the specified formula (increment, decrement, multiply, or divide). This is ideal for strategies that scale out of a position at multiple protective levels.
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
| Trade Id(s) | A list of trade IDs for which to set or update the stop loss. Connect this to the output of a Place Trades or Place Trade with Risk rule. | Yes | — |
| Type | The method used to determine the stop loss price. Available values: Price, Pips, Breakeven, Amount, Distance Pips, Distance Amount. | Yes | — |
| Target Price | The absolute price for the stop loss. Used when Type is set to Price. | No | — |
| Pips | The stop loss distance in pips from the entry price. Used when Type is set to Pips. | No | — |
| Amount | The monetary amount to risk, used to calculate the stop loss price. Used when Type is set to Amount. | No | — |
| Distance Pips | The stop loss distance in pips from the current market price. Used when Type is set to Distance Pips. | No | — |
| Distance Amount | The monetary amount to risk, calculated from the current market price. Used when Type is set to Distance Amount. | No | — |
| Trailing | When enabled, the stop loss automatically adjusts as the trade moves into profit, locking in gains progressively. | No | — |
| Silent | When enabled, the stop loss order is held by the system and not sent to the broker until the target price is reached. | No | false |
| Scale Out | When enabled, activates the Scale Out Calculator to set tiered stop losses across multiple trades. | No | false |
Scale Out Calculator
| Input | Description | Required | Default |
|---|---|---|---|
| Sort By | The criteria for sorting trades before applying the scale out calculator. Available values: Created Time, Target Price. | No | — |
| Sort Direction | The direction for sorting trades. Available values: Ascending, Descending. | No | — |
| Calculator Type | The method used to calculate the stop loss for subsequent trades. Available values: Multiply, Divide, Increment, Decrement. | No | — |
| Adjust By | The value used to adjust the stop loss for each subsequent trade in the sequence. | No | — |
| Adjust After | The number of trades to process before the stop loss adjustment begins. | No | — |
| Limits | Whether to enforce minimum and maximum constraints on the calculated stop loss values. | No | — |
| Minimum | The minimum allowed stop loss value when using the calculator. | No | — |
| Maximum | The maximum allowed stop loss value when using the calculator. | No | — |
Outputs
| Output | Description | List |
|---|---|---|
| Updated Trade(s) | Details of the trades that were updated with a new stop loss order. These can be passed to downstream rules for further processing. | Yes |
Tips
Use the Breakeven type to move your stop loss to the entry price once a trade has reached a certain profit level. This effectively creates a risk-free trade. Combine this with a condition rule that monitors unrealised profit, and connect it to this Stop Loss rule to automate the breakeven move. For grid strategies where you have placed multiple trades using the Place Trades rule, enable the Scale Out Calculator with an Increment type to space your stop losses at progressively tighter levels, providing layered protection across the entire position.
Was this helpful? Let us know