Set Order Conditions
The Order node opens a position once your Indicator fires. This page covers how to configure the trade itself: asset, direction, order type, size, and leverage. And how to set the conditions that close it.
Open the Order node settings
Click an Order node on the canvas to open its settings panel. The panel has two sections: the order settings at the top, and the exit conditions below.
Configure the order
Asset
Select the market you want to trade from the asset dropdown. Available markets are listed by their perpetual pair (e.g. BTC-PERP, ETH-PERP).
Direction
- Long: Buy to open a long position.
- Short: Sell to open a short position.
Order type
- Market: Executes immediately at the best available price. Set a slippage tolerance to limit how far the fill price can deviate from the mark price.
- Limit: Places an order at a specific price. Sits until it fills or you cancel it.
Price
For limit orders, enter the price at which you want to open the position. Not required for market order.
Slippage tolerance
For market orders, the maximum acceptable deviation from the mark price, as a percentage. A 1% slippage tolerance means the order will not fill if the execution price is more than 1% away from the mark price.
Leverage
Set the leverage for the position. Default is 10x.
Size
nter the amount of the base asset to trade. You can also use the size slider to set position size as a percentage of your available balance relative to your leverage and the current mark price.
Exit conditions
After configuring the order, you set how the position closes. You can enable any combination of exit conditions. Whichever one triggers first closes the position.
Take Profit / Stop Loss
Enable the TP/SL toggle to set price-based exit targets. See Configure a Take Profit and Configure a Stop Loss for detail.
Trigger (condition-based exit)
Enable the Trigger toggle to define a condition-based exit. This embeds a condition workspace inside the Order node, use the same toolbox blocks as the Indicator node to build a formula.
When the condition is true while the position is open, a market close order is placed.
Use a Trigger when your exit depends on an indicator signal rather than a fixed price. For example: close when RSI(14) crosses above 70.
Reduce position only
Enable Reduce position only to make the order a partial close rather than a full open. When enabled, the order will only reduce an existing position, never open a new one. This is useful for scaling i/out of a position in stages.
Example
Setup: Open a long BTC-PERP position at market when EMA(12) crosses above EMA(24).
Order configuration:
- Asset: BTC-PERP
- Direction: Long
- Order type: Market
- Slippage: 1%
- Leverage: 10x
- Size: 0.01 BTC
Exit conditions:
- Take Profit: 5% above entry
- Stop Loss: 2% below entry
- Trigger: RSI(14) crosses above 70
When the entry fires, the Order node opens the position. All three exit conditions run simultaneously from that point. The first one to trigger closes the position.
Next steps
You can also set a stop loss or take profit for your position. Read Configure a Stop Loss and Configure a Take Profit to learn how. Or go straight to deploying your strategy: Deploy a Strategy.