Copy Trades
The Copy Trades rule duplicates one or more existing trades, creating new trades with the same parameters. This is a powerful tool for replicating trading opportunities, scaling positions, or implementing signal-following strategies where you want to automatically mirror the trades of another part of your strategy.
How It Works
The Copy Trades rule takes a list of existing trade IDs and creates new, identical trades for each one. Every key attribute of the original trade is carried over to the copy, including the trade side (buy or sell), symbol, volume, and order type. In addition to the base order parameters, the rule also copies the associated stop loss and take profit configurations, ensuring that the new trades have the same risk management and profit-taking settings as the originals.
Before copying a trade, the rule performs an important safety check. If the original trade has a stop loss configured, the rule examines the current market price. If the price has already moved past the stop loss level, the trade will not be copied. This prevents the creation of new trades that would be immediately stopped out for a loss, protecting you from entering positions that are no longer viable.
This rule is particularly useful in scenarios such as scaling up a position by creating multiple copies of the same trade, implementing social trading or signal-following logic, or replicating trades across different branches of a complex strategy.
Inputs
| Parameter | Description | Required | Default |
|---|---|---|---|
| Trade Id(s) | A list of trade IDs for the trades to be copied. Each trade in the list will be duplicated with all of its original parameters preserved. | Yes | — |
| Allow Circular Dependencies | Controls whether this rule is permitted to have circular dependencies with other rules in the strategy. When set to false, the rule will not execute if a circular dependency is detected. | Yes | false |
Outputs
| Output | Description |
|---|---|
| Copied Trade Id(s) | A list of the new trade IDs that were created by copying the input trades. Each ID corresponds to a newly created trade that mirrors the original. |
Tips
The built-in safety check will skip any trade whose current market price has already passed the stop loss level. If you notice that some trades are not being copied, verify that the original trades still have valid stop loss levels relative to the current price. You can use a Trade Monitor rule downstream to confirm which copies were successfully created.
Was this helpful? Let us know