Node reference

Enter Long

Opens a long position when its gate is true.

Rev. 2026.06

Enter Longaction
InputsNo output
Gate
gate · boolean
Quantity
quantity · number
Enter Long
Performs an action — no value out
Configure
quantitySource
— Where size comes from — a constant or a node
default constant
quantity
— Order size
default 1
range 0.001–1000000000
quantityNodeId
— Node supplying the order size

What happens

When the boolean gate input is true (or every candle if no gate is wired), it opens a long for the configured or wired quantity. With no inputs it fires every bar.

When to use

The long entry for a directional strategy.

Gotchas

  • No gate wired means it fires every candle — usually not what you want.
  • Pair it with an exit and a stop; an entry alone never closes.