Node reference

Stop Entry

Places a stop order on the gate and waits for a breakout fill.

Rev. 2026.06

Stop Entryaction
InputsNo output
Gate
gate · boolean
Quantity
quantity · number
Price
price · number
Reference
reference · number
Stop Entry
Performs an action — no value out
Configure
direction
— Long or short
default long
priceSource
default offset
priceNodeId
referenceNodeId
offsetType
default percent
offsetValue
default 0.1
expiryBars
default 20
quantitySource
— Where size comes from — a constant or a node
default constant
quantity
— Order size
default 1
quantityNodeId
— Node supplying the order size

What it does

When the gate fires, it posts a stop order and fills only if price breaks through the level within expiryBars.

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

Breakout entries — only enter if price pushes through a level.

Gotchas

  • It fills on the breakout, not before — and may expire unfilled.
  • Set expiryBars to bound the wait.