Place Trades

Place one or more trades with sophisticated control over order spacing, volume, and execution. The Place Trades rule is designed for strategies that require multiple orders to be submitted simultaneously, such as grid trading, dollar-cost averaging, or scaling into and out of positions. It gives you full command over how entry prices are distributed across your orders and how trade sizes are calculated for each one.

How It Works

The Place Trades rule allows you to submit multiple orders in a single operation. You configure the symbol, side, order type, and the total number of trades you want to place. The rule then uses two powerful calculators to determine the exact price and volume for each individual order in the sequence.

The Order Spacing Calculator determines the entry price for each trade. You select a calculation method and provide the initial distance between orders. The available spacing methods are:

  • Fixed — All trades are placed at the same price, with equal spacing between each order.
  • Increment — The price of each subsequent trade is increased by a set amount, creating evenly widening gaps.
  • Decrement — The price of each subsequent trade is decreased by a set amount, creating narrowing gaps.
  • Multiply — The spacing between trades is multiplied by a factor for each subsequent order, creating exponentially widening gaps.
  • Divide — The spacing between trades is divided by a factor for each subsequent order, creating exponentially narrowing gaps.
  • Fibonacci — The spacing is determined by the Fibonacci sequence, a popular tool in technical analysis for identifying natural support and resistance levels.

The Order Volume Calculator works in a similar fashion, determining the size of each trade. It supports Fixed, Increment, Decrement, Multiply, and Divide methods. Both calculators allow you to set minimum and maximum constraints to maintain control over the price range and position sizing.

The rule also provides options for managing order execution. A retry timeout can be set to automatically resend an order if it fails to place due to a technical issue. The Close on Cancel option will immediately close a trade if a cancellation request fails because the order was filled before the cancellation could be processed.

Inputs

Input Description Required Default
Symbol The financial instrument to be traded and the account to be used. Yes
Side Whether the orders are to buy or sell. Available values: Buy, Sell. Yes
Order Type The type of order to be placed. Available values: Limit, Stop, Stop Limit, Limit Stop. Yes
Time in Force How long an order will remain active before it is cancelled by the broker. No Good Til Cancel
Number of Trades The total number of trades to be placed in the sequence. Yes
Target Price The entry price for the first trade in the sequence. Subsequent trade prices are calculated by the Order Spacing Calculator. No
Offset Pips An offset in pips applied to the target price for the first trade. No
Entry Range Pips The price range for Stop Limit and Limit Stop orders, defining the acceptable fill range. No

Order Spacing Calculator

Input Description Required Default
Calculator Type The method used to calculate the spacing between orders. Available values: Fixed, Increment, Decrement, Multiply, Divide, Fibonacci. Yes
Distance The initial spacing between the first and second orders, measured in pips. Yes
Adjust By The value used to adjust the spacing for each subsequent order according to the calculator type. No
Adjust After The number of orders to place before the spacing adjustment begins. No
Minimum The minimum allowed spacing between orders, in pips. Yes
Maximum The maximum allowed spacing between orders, in pips. Yes

Order Quantity Calculator

Input Description Required Default
Quantity The quantity of the first order to be placed. Yes
Calculator Type The method used to calculate the quantity for each subsequent order. Available values: Fixed, Increment, Decrement, Multiply, Divide. Yes
Adjust By The value used to adjust the quantity for each subsequent order. No
Adjust After The number of orders to place before the quantity adjustment begins. No
Minimum The minimum allowed quantity for an order. Yes
Maximum The maximum allowed quantity for an order. Yes

Order Execution

Input Description Required Default
Retry Timeout (s) The number of seconds to wait before retrying a failed order placement. Set to 0 to disable retries. No 0
Close on Cancel If a cancellation request fails because the order was already filled, this option will immediately close the resulting position. No true

Outputs

Output Description List
Trade Id(s) A list of the new trade IDs that were created by this rule. These IDs can be passed to downstream rules such as Stop Loss, Take Profit, or Close Positions. Yes

Tips

When using the Fibonacci spacing method, the spacing values follow the natural Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, ...). This creates order levels that align with commonly watched technical analysis levels, making it an excellent choice for grid trading strategies that anticipate support and resistance at Fibonacci ratios. Combine the Place Trades rule with an Aggregate Stop Loss or Aggregate Take Profit rule to manage the entire grid as a single position.

Was this helpful? Let us know