This article answers whether, with ATM Copy, each follower runs its own auto-breakeven and trailing stop, how that combines with the leader's own breakeven or trailing move, and why a follower's stop can end up a few ticks away from the leader's.
Short answer
Yes. With ATM Copy on, each follower runs the ATM strategy with the leader's name in its own NinjaTrader. That ATM's auto-breakeven and trailing stop run on the follower itself, calculated from the follower's own fill price.
At the same time, the leader's breakeven or trailing move is a change to the leader's stop, so Replikanto copies it to the matching stop of each follower's ATM, at the leader's price (not as a tick offset). The follower's stop therefore receives two moves: its own, and the copy of the leader's.
How the two moves combine
The last change wins. The follower's stop ends up at whichever move arrives last:
- Usually that is the copied leader price.
- If the follower's own breakeven triggers after the leader's move was copied (for example, because the follower filled at a different price), the follower's own level wins.
So a follower's stop can differ by a few ticks from the leader's. After a breakeven or trailing move, compare the followers' stops with the leader's.
Example
The prices below are illustrative. The leader and the followers use the same ATM template, whose auto-breakeven moves the stop to the entry + 16 ticks once the trade is 32 ticks in profit. The instrument is ES (1 tick = 0.25).
- Leader buys at 6500.00. Its breakeven triggers at 6508.00 and moves its stop to 6504.00.
- Follower filled one tick worse, at 6500.25. When the market reaches 6508.00, the leader's move is copied and the follower's stop goes to 6504.00. If the market then reaches 6508.25, the follower's own breakeven triggers and moves its stop to 6504.25. That is the last change, so the follower's stop stays one tick away from the leader's. If the market never reaches 6508.25, the follower's stop stays at the leader's 6504.00.
- Follower filled one tick better, at 6499.75. Its own breakeven triggers first, at 6507.75, and moves its stop to 6503.75. When the market reaches 6508.00, the leader's move is copied and the follower's stop goes to 6504.00. That is the last change, so the follower's stop matches the leader's.
A trailing stop works the same way: every step of the leader's trailing stop is a change to the leader's stop and is copied at the leader's price, while the follower's own trailing stop keeps calculating from the follower's fill price.
Fast markets
A breakeven or trailing move in a fast market can put the stop at a price the market has already passed. Starting with Replikanto 1.7.0.0, Replikanto handles this case:
- It holds the change until NinjaTrader accepts or rejects it on the leader. If the leader's change is rejected, nothing is copied.
- If it is accepted, each follower's stop is placed at that follower's own bid (sell stop) or ask (buy stop), and normally fills right away, sometimes a few ticks from the leader's price.
- If the follower's broker still rejects it, Replikanto resubmits it at most 2 times. If that fails too, the Log tab shows an Error line starting with
FOLLOWER DESYNC RISK: check that follower's position and stop by hand.
This needs a bid/ask price for the follower's instrument in NinjaTrader on the computer that places the follower's orders. Details: Follower stop rejected in fast markets: what happens and auto-flatten.
Requirements
- NinjaTrader running and connected. The breakeven and trailing logic runs in NinjaTrader, so it can move the stop only while NinjaTrader is running and connected. No trailing stop or automatic breakeven logic can be updated while the platform is closed. See Exit orders when NinjaTrader closes or the broker disconnects.
- The same ATM template everywhere. The ATM template must exist with the same name and the same settings, including its breakeven and trailing settings, in every NinjaTrader involved. See How to enable and use ATM Copy in Replikanto.
Tradovate leader with a simulated stop
When NinjaTrader triggers a simulated stop on a Tradovate leader, the leader's stop then shows a price of 0. Starting with Replikanto 1.7.2.0, this change is not copied (the Log tab shows Info [1139]), and each ATM Copy follower keeps its own stop. See Does moving the leader's stop or target update the followers?
Comments
0 comments
Article is closed for comments.