Break Even
Break Even moves the active Stop Loss to the trade's entry price when the connected signal fires. Once triggered, a winning trade can no longer lose money — the worst outcome is a scratch exit at entry. Use it to eliminate downside risk once price has moved a sufficient distance in your favour.
How It Works
- 1
Connect a condition signal to the node's input port — typically an indicator reaching a threshold (e.g. price moved 1R in your favour).
- 2
When the last non-null signal value is non-zero, triggered is set to true and the active position's stop loss price is updated to the recorded entry price.
- 3
The move is permanent for the life of the trade: the stop loss will not revert below entry even if the signal drops back to zero.
- 4
If no position is open, the node is a no-op and waits for the next open trade.
Parameters
No configurable parameters. The break-even level is always the entry price of the active position.
Inputs & Outputs
| Port | Type | Description |
|---|---|---|
| Input | ||
| input | signal | Trigger signal. Non-zero last value moves the SL to break even. |
| Outputs | ||
| triggered | boolean | true when the SL move was issued on the last tick. |
| lastSignalValue | number | null | The last non-null value read from the input. |
Use Cases
1R profit threshold
Compute the distance from entry to stop loss (1R). Wire a signal that fires when price has moved 1R in your favour to move the stop to entry, making the rest of the trade risk-free.
Time-based break even
After N bars in a trade, move the stop to entry unconditionally to avoid holding a losing trade for too long.
Indicator confirmation
Use a volume-spike or momentum confirmation signal to move to break even only when the market is actively confirming the move — avoiding premature scratch exits on noise.