DocsAction Nodes

Action Nodes

Trade execution, position management, and brokerage connectivity

Action nodes are the execution layer of a strategy graph. They translate indicator signals and risk rules into concrete trading actions — opening and closing positions, managing stop levels, scaling in or out of trades, and routing live orders to a connected brokerage.

Available Nodes

Open Position

Entry

Opens a long or short position using any of eight order types (market, limit, stop, stop-limit). Connects to a Price source and optional Take Profit and Stop Loss nodes, then triggers on an entry signal.

Close Position

Exit

Closes the current open position at market price when the connected signal becomes truthy. Use this for time-based or indicator-driven exits independent of the TP/SL wired into Open Position.

Close All Positions

Exit

Closes every open position simultaneously when triggered. Useful for end-of-day flat rules, kill-switch logic, or emergency exits driven by a single condition.

Break Even

Risk Control

Moves the active Stop Loss to the entry price (break even) when the connected signal fires. Eliminates downside risk on winning trades once a threshold is reached.

Trailing Stop

Risk Control

Dynamically adjusts the Stop Loss as price moves in your favour. Supports percentage-based and fixed-distance trailing. The stop only ever moves forward — never backward.

Scale In

Position Sizing

Adds contracts or a percentage of equity to an existing open position when triggered. Supports market, limit, and stop order types with independent commission and slippage settings.

Scale Out

Position Sizing

Reduces an open position by a fixed quantity or percentage when triggered. Lets you lock in partial profits or de-risk progressively as the trade develops.

Broker

Execution

Routes the Open Position node's signal to a live or paper-trade brokerage. Supports Paper Trade, Interactive Brokers, Alpaca, Binance, Coinbase, OANDA, and more.

Typical Execution Flow

1
SignalWire an indicator, Logic, or Pattern node to Open Position's signal input. The position opens on the next bar where the signal is non-zero.
2
GuardAttach a Stop Loss and/or Take Profit node to Open Position's input2 and input3 ports. The node will not open unless both are connected and valid.
3
ManageAdd Trailing Stop, Break Even, Scale In, or Scale Out nodes to dynamically adjust the trade as it develops.
4
ExitUse Close Position for signal-driven exits or Close All Positions for a flat-all kill switch. TP/SL exits are handled automatically by the Broker node.
5
RouteConnect Open Position to a Broker node and select your brokerage (or Paper Trade) to execute orders live or in simulation.