Node reference

Exit

Closes the position when its gate is true.

Rev. 2026.06

Exitaction
InputsNo output
Gate
gate · boolean
Exit
Performs an action — no value out

What it does

A signal-driven close — when the gate fires, the open position is closed.

What happens

Fires when its gate input is true — or every candle if it has no gate — and translates into an order or position change in the backtest and live engine.

When to use

Rule-based exits like an opposite-signal cross.

Gotchas

  • No gate wired = it fires every candle.
  • For stop-loss / take-profit brackets, use the Exit (brackets) node instead.