Strategy Sync: In Sync by Design, Not by Repair

Your TradingView strategy scales in, scales out and reverses. Strategy Sync keeps your broker account in step with it, at your size, through every one of those moves. Your own stops and targets fit in too: they act as early scale-outs, and your account picks the strategy back up from there.
In sync by design, not by repair
Other copy and sync services generally handle a strategy in one of two ways. They either match the strategy's net position, or they copy each buy or sell the strategy sends. Neither is good enough once a strategy scales in and out, and both break down when your own brackets exit before the strategy does. Here's what each looks like on those services. Neither is how SharkSignals works.
Other services: following net position only
These services keep your account at the strategy's size, and nothing else. They never know why your account is smaller.
Strategy is long 3. So are you. → LONG 3
Your own target fills on 1 contract. → LONG 2 (strategy still long 3)
On the next alert, their platform sees you're 1 short, so it buys 1 back at a worse price. Your target has just been undone. → LONG 3
Your stop gets the same treatment there. Get stopped out, and the next alert puts you straight back into the trade you were just stopped out of.
Other services: copying each buy and sell
These services send you the same order the strategy placed. They never check what your account is actually holding.
Strategy is long 3. So are you. → LONG 3
Your own target fills on 1 contract. → LONG 2 (strategy still long 3)
Strategy takes its own profit: sell 1. Their platform copies it. → LONG 1 (strategy long 2)
Strategy exits: sell 2. Their platform copies it and sells 2 against your 1. → SHORT 1 (strategy flat)
Your account is now in a trade the strategy never took. Copying orders has two more problems:
Scale-outs at a different size. You trade a fixed 5 contracts while the strategy trades 3. The strategy sells 1 to take partial profit. Copy that order at your fixed size and it sells 5, so you're flat while the strategy is still in the trade.
Reversals overshoot. The strategy is long 3 and reverses to short 10. TradingView reports that as one order: sell 13. Copying it closes your 3 long and opens 13 short. You end up short 13 instead of short 10.
What SharkSignals does instead
Strategy Sync reads both. It knows the strategy's position before and after each alert, and what kind of move the alert was. Then it compares that with what your account holds. A target that fired early counts as a scale-out you already took. A stop that took you out isn't bought back. A strategy exit closes what you actually hold, and nothing more.
That decision is made at the moment each alert arrives, so the order that goes out is the right one the first time. Some other services take a different route: they check your account every so often, spot that it has drifted from the strategy, and send extra orders to repair it. Every repair is a trade you didn't need, filled later and usually at a worse price. Those costs land on you. We'd rather not drift in the first place.
First public release. This is the first public release of Strategy Sync. It handles the cases below, and when it can't safely follow the strategy it holds off and tells you why instead of guessing. We'll keep refining it from real trading. If something doesn't line up the way you expect, let us know.
How it works
Every alert can report three things: the order, where the strategy's position was before the order, and where it is after. With those, SharkSignals knows whether the alert is an entry, a scale-in, a scale-out, a reversal or an exit, and how big the strategy's position is.
Scale-ins. When the strategy adds to its position, your account adds too, using your account's sizing rule (for example 2× the strategy, or a fixed size per order).
Scale-outs keep the same share. When the strategy closes part of its position, your account closes the same share of its own position. If the strategy closes a third, you close a third.
Example, fixed 5 contracts while the strategy trades 3:
Strategy enters long 3. You trade a fixed 5. → LONG 5
Strategy sells 1. It kept 2 of its 3, so you keep 2/3 of your 5 (3.33, rounded to 3). You sell 2. → LONG 3
Strategy exits. You exit everything. → FLAT
A few rules keep this safe:
Sizes round to the nearest contract. An exact half rounds down.
A scale-out never takes your account flat while the strategy is still in the trade. Only the strategy's exit does that.
If your share works out to 0 contracts, nothing is sent and you get a note saying so.
When your trade plan has several brackets, each bracket gives up its share. The stops and targets on every bracket stay in place, instead of one bracket being closed out first.
Reversals land on the strategy's new position. When the strategy reverses from long 3 to short 10, your account closes its long and opens short at 10 × your size, not 13.
Your stops and targets are early scale-outs
Your trade plan can put your own stop loss and take profit on each bracket. TradingView never sees those fills, so the strategy keeps going as if nothing happened. Strategy Sync treats your stop or target as a scale-out that came a little early. When the strategy later makes the same move, your account has already made it, so nothing extra is closed. When the strategy goes further than you did, your account catches up the rest.
Example, three brackets of 1 contract, each with its own target:
Strategy enters long 3. Your plan opens three brackets of 1. → LONG 3
Your first target fills. TradingView doesn't know. → LONG 2 (strategy long 3)
Strategy sells 1 (3 to 2). You should hold 2, and you already do, so nothing is sent. → LONG 2
Strategy sells 1 more (2 to 1). You close 1. → LONG 1
Strategy exits. You exit what's left. → FLAT
If your stop closes everything while the strategy is still in the trade, your account is flat and the strategy isn't. What happens next is up to the sync mode you choose.
The three sync modes
Most of the time your account and the strategy agree, and all three modes act the same. They differ when the two drift apart: after your stop or target closed everything, after you flattened from the dashboard, or when you turn the plan on while the strategy is already in a trade.

Ignore Sync (default). Trades each alert as it arrives, at your size. It doesn't compare your account with the strategy. Good for indicator alerts and simple buy/sell signals. On a strategy reversal it can overshoot.
Enter Only When Flat. Your account only gets into a trade when the strategy does. If you're flat and the strategy is mid-trade, it waits for the strategy's next entry or reversal. Good when you want the strategy's entry prices and never want to jump in halfway through.
Sync Immediately. On the next alert, your account goes straight to the strategy's position. Flat while the strategy is long 3? You buy 3 (at your size). On the wrong side? You're reversed. Good when being in the market with the strategy matters more than the entry price.
Side by side. The strategy is long 2. You flatten your account from the dashboard. The strategy then scales in to long 3, and later reverses to short 2. You trade 1× the strategy.
Scale in, buy 1 (strategy long 3): Ignore Sync buys 1 → LONG 1. Enter Only When Flat skips it and waits → FLAT. Sync Immediately buys 3 → LONG 3.
Reverse, sell 5 (strategy short 2): Ignore Sync closes 1 and opens short 5 → SHORT 5. Enter Only When Flat joins the reversal → SHORT 2. Sync Immediately closes 3 and opens short 2 → SHORT 2.
Enter Only When Flat, in a little more detail. On every alert, this mode compares your account with where the strategy was before that alert:
Following. Your account is on the same side as the strategy (or both are flat). Scale-ins, scale-outs, reversals and exits all go through.
Waiting. Your account is flat but the strategy is in a trade, for example after your stop took you out. Scale-ins and scale-outs are skipped with a note, the strategy's exit is ignored, and a reversal or a fresh entry brings you back in.
Off track. Your account holds a position the strategy doesn't explain, such as a manual trade. Nothing is placed, and you get a warning. We never flatten a position we didn't open. Flatten it yourself and the account follows again from the strategy's next entry.
Setting up your alert
Both sync modes need your alert to report the strategy's position. The TradingView strategy template in SharkSignals already includes these keys:
"action": "{{strategy.order.action}}""quantity": "{{strategy.order.contracts}}""netPosition": "{{strategy.position_size}}"(required for both sync modes): the strategy's position size after the order. Positive is long, negative is short, 0 is flat."marketPosition": "{{strategy.market_position}}"and"prevMarketPosition": "{{strategy.prev_market_position}}"(optional): long, short or flat after and before the order. If missing, we work them out from netPosition. Sending them makes the match exact."prevNetPosition": "{{strategy.prev_market_position_size}}"(optional): when present, we warn you if your account's size doesn't match the strategy's. The warning never blocks a trade.
Ignore Sync needs none of these.
Messages you may see
Signal Skipped — waiting for the strategy to go flat. Enter Only When Flat is waiting. Your account rejoins on the strategy's next entry or reversal.
Signal Skipped — missing netPosition value. Add netPosition to the alert, or switch the plan to Ignore Sync.
Nothing to close for this scale-out. Your own stop or target already made this move, or your share rounded to 0.
Signal Skipped — broker account is not flat / broker position is not the strategy's. Your account holds a position the strategy doesn't explain. Flatten it to start following again.
Good to know
Manual trades on the same side. If you open a manual position on the same side the strategy is on, we can't tell it apart from one the strategy opened. Keep manual trades on a separate account from synced plans.
Reversed accounts. If an account is set to reverse the signal direction, sync compares it with the opposite of the strategy's side, so a reversed account follows too.
Extra contracts on entry. If your account adds a few contracts to the first order, those ride as a runner. Scale-outs leave them alone and they close on the strategy's exit.
Contract rolls. Positions are tracked per contract month. When the strategy rolls to a new contract, tracking starts fresh, as it does at your broker.