Set up TradingView Automation with SyncMyTrade
Trade your TradingView strategy automatically across your connected futures accounts.
This guide walks you through the complete TradingView automation setup, from creating a strategy in SyncMyTrade to configuring your TradingView webhook alert. It also explains how to manage stop loss and take profit and what to check when a signal does not reach your accounts.
ℹ️ Note
Prefer to watch? See the full setup and a live test (4:55)
How it works
Every strategy you create in SyncMyTrade has its own private webhook URL and a ready-to-use alert message. You add both to a TradingView alert on your strategy.
Whenever your strategy fills an order, TradingView sends its updated position to SyncMyTrade. We compare that position with what each connected account currently holds and send the orders needed to bring each account in line with its assigned ratio.
The alert reports the strategy’s resulting position, not just the latest buy or sell order. For example, it tells us that your strategy is now long two contracts.
This makes duplicate alerts harmless: receiving the same position twice does not open another position.
If an account misses an update while it is already participating in a trade, a later signal can bring it back in line. However, an account that is flat while the strategy is already in a trade will not enter late. It waits for the next new entry or reversal.
Before you start
There are four things you need before setting up your automation.
A TradingView plan that supports webhooks
TradingView webhook notifications need a paid TradingView plan (Essential or higher at the time of writing). The free Basic plan does not include them. Check TradingView’s pricing page if you are unsure, as plan features can change.
⚠️ Important
Two-factor authentication enabled on TradingView
TradingView requires two-factor authentication (2FA) before you can use webhook notifications. To enable it, open your TradingView account settings and go to Privacy and Security.
A paid SyncMyTrade plan
TradingView Automation is available on paid plans. During the free trial, you can open the feature and explore it, but you cannot create or run a strategy. You must upgrade to a paid plan to use strategy automation.
A connected broker with at least one account
Connect Tradovate, ProjectX or Rithmic first. Supported NinjaTrader accounts connect through Tradovate. See Brokers & connections for setup instructions.
A strategy cannot be enabled until at least one account is assigned to it.
ℹ️ Note
1. Create a strategy in SyncMyTrade
Open TradingView Automation and select Add Strategy.
Give your strategy a name that you can easily recognise. It identifies the strategy on your dashboard.
Select the symbols that the strategy is allowed to trade. SyncMyTrade handles different contract formats automatically. For example, MNQ1!, MNQZ2026 and MNQZ26 all resolve to MNQ. An alert for a symbol that you have not selected will be rejected.
Choose your Exit Management settings. You can use TradingView exit alerts only, or enable broker-side stop loss and take profit as well. See Exit management below.
Save your strategy. Its webhook URL and alert message appear in the TradingView Setup panel on the strategy page.
ℹ️ Note
strategy()). Indicator alerts are not supported yet. Order Execution is fixed to Market, so a limit entry in your TradingView strategy will be sent as a market order.Market entries help keep your broker account in sync with your TradingView strategy. An unfilled limit order could leave your strategy and broker account holding different positions.
2. Add accounts and set ratios
Add your accounts on the strategy page
On your strategy page, find Connected Accounts and click Add Account. Select each account you want the strategy to trade. New accounts start at a ratio of 1x.
You can combine supported prop firm and personal accounts, as well as live and demo accounts, in one strategy.
Set each account’s ratio on the Dashboard
The ratio is a whole number from 1x to 10x. It determines how many contracts the account holds compared with your TradingView strategy. For example, if your TradingView strategy holds one contract:
- An account set to 1x holds one contract.
- An account set to 2x holds two contracts.
- An account set to 3x holds three contracts.
To change it:
Open the Dashboard and select your strategy from the tabs at the top. Strategies are marked TV.
Select the symbol tab, for example MNQ.
In the Ratio column, click the account’s current ratio (for example 1x), type a whole number from 1 to 10 and press Enter.
Ratios are set per symbol. If your strategy trades more than one symbol, set the ratio on each symbol tab. A smaller evaluation account and a larger funded account can follow the same strategy at different sizes.
💡 Tip
3. Create the TradingView alert
Open the TradingView chart where your strategy is running. Make sure the strategy has been added to the chart. Then follow these steps:
Click Alert in the top toolbar. The Create Alert panel will open.
Set Condition to your strategy’s name. The dropdown may show several items from your chart. Select the strategy, not an indicator or Price. The price condition rows will disappear because strategy alerts are based on your strategy’s orders.
Leave Interval set to Same as chart unless you have a specific reason to change it.
In SyncMyTrade, open your strategy page and find the TradingView Setup panel. Under 2. Alert Message, click Copy. Back in TradingView, open the Message section, delete the text TradingView has filled in, paste the copied message and click Apply.
In the same TradingView Setup panel, under 1. Webhook URL, click Copy. Back in TradingView, open Notifications, select the Webhook URL checkbox, paste the URL into the field and click Apply. Your URL starts with https://webhook.syncmytrade.com/tv/ and is unique to your strategy.
Check the alert’s expiration date. See the warning below.
Click Create.
⚠️ Important
When an alert expires, your automation stops because TradingView no longer sends signals. Your SyncMyTrade Signals list will not show new alerts because nothing is being received. Keep track of your alert’s expiry date and recreate the alert when needed.
TradingView also deactivates alerts that are more than one year old and have not triggered or been edited for more than a year.
⚠️ Important
💡 Tip
What the alert message says
Copy the message from the TradingView Setup panel on your strategy page and paste it into TradingView exactly as shown. TradingView automatically replaces the placeholders when your strategy fills an order.
{
"action": "{{strategy.order.action}}",
"position": "{{strategy.market_position}}",
"posSize": {{strategy.market_position_size}},
"symbol": "{{ticker}}",
"qty": {{strategy.order.contracts}},
"price": {{strategy.order.price}},
"interval": "{{interval}}",
"time": "{{timenow}}"
}ℹ️ Note
⚠️ Important
time field must use {{timenow}}, not {{time}}. The {{time}} placeholder reports when the bar opened. On most timeframes, this makes an alert appear older than it really is, so it may be blocked.Because posSize reports the strategy’s resulting position rather than just the change in position, the same message handles scaling in, scaling out and reversals. For example, a reversal from long two contracts to short two contracts is sent in a single alert, rather than requiring separate close and open alerts.
Exit management
You can choose whether to use your TradingView strategy’s exit alerts only or add stop-loss and take-profit orders at your broker.
TradingView alerts only
Your strategy’s exit alerts close or reduce the position. No stop-loss or take-profit orders are placed at your broker.
This option follows your TradingView strategy’s exits most closely. However, the exit alert must reach SyncMyTrade for the position to close.
Stop Loss & Take Profit
SyncMyTrade places a stop loss and an optional take profit at your broker.
Because these orders are held at your broker, they stay active if your internet connection drops or SyncMyTrade becomes temporarily unavailable.
Your TradingView exit alerts still work in this mode. An exit alert closes or reduces the position, and the resting stop-loss and take-profit orders are cancelled or resized to match.
You can enter stop-loss and take-profit distances in points, ticks or dollars. They are first placed using the price in the TradingView alert, then moved to measure from the price your broker actually filled your order at.
There are two ways to manage these orders when your strategy adds to a position:
⚠️ Important
4. Enable and monitor your strategy
Once your accounts and TradingView alert are ready, you can enable the strategy using the toggle on its page.
When the strategy is disabled, incoming signals are recorded but no trades are placed. This gives you a way to watch the signals for a session before allowing the strategy to trade your accounts.
Turn on the strategy using its toggle.
Wait for your TradingView strategy to generate a signal.
Open the Signals section on the strategy page and check the incoming alerts. Every alert we receive appears there, whether it was traded or not.
Check the position at your broker as well. Your broker is the final source of truth for what your account actually holds.
Late alerts and missed entries
Old alerts are blocked from opening trades
Every alert includes the time it was generated. If it reaches SyncMyTrade after your configured time limit, it is treated as stale. The default limit is 60 seconds. You can change it under Advanced in your strategy settings.
A stale alert cannot open a new position, but it can still reduce or close an existing position. This helps prevent delayed entry signals from opening trades at prices that may no longer be relevant.
A late reversal can close your current position, but it will not open a new position in the opposite direction.
An account with no position does not join an open trade
If an account is flat while your TradingView strategy is already in a trade, SyncMyTrade will not open that trade late. This can happen when:
- You add an account after the strategy has already entered a trade.
- An account was paused while the strategy continued trading.
- The account's own stop loss closed its position.
The account waits for the strategy’s next new entry or reversal before joining again. Until then, its signal rows show Position mismatch.
An account that already has a position continues to follow the strategy’s new entries, partial exits, reversals and closing signals as normal.
Why a signal was rejected
Every alert we receive is recorded on the strategy page. You can see whether it was traded, skipped or rejected, along with the reason. These are the reasons you may see.
Troubleshooting
My TradingView alert fired, but the Signals list is empty
This means SyncMyTrade did not receive the webhook. Check the following:
Your TradingView plan includes webhook notifications. The free Basic plan does not.
Two-factor authentication is enabled on your TradingView account.
The Webhook URL checkbox is selected in your TradingView alert.
You are using the correct webhook URL from your current strategy. If you regenerated the URL, the old one no longer works.
Your TradingView alert has not expired.
Your TradingView notification schedule allows alerts at that time.
My automation worked for weeks and then stopped
First, check the alert’s expiry date. Standard TradingView alerts last up to two months and stop sending signals when they expire. Also check that:
- The TradingView alert is still active.
- The notification schedule covers the hours you want to trade.
- Your SyncMyTrade strategy is enabled.
- Your broker connection is still connected.
The same signal appears twice
TradingView may resend a webhook if a delivery fails. SyncMyTrade recognises these retries as the same signal, so they do not open duplicate positions.
I regenerated my webhook URL and now nothing works
Regenerating the URL takes effect immediately, and your old URL stops working. Open the TradingView alert and replace the old webhook URL with the new one shown on your SyncMyTrade strategy page.
My account is not available when I try to add it
An account can only be assigned to one strategy or copy group at a time. Remove it from the other strategy or group first, then try adding it again.
I cannot change my strategy settings
Strategy settings are locked while one of its connected accounts has an open position. This is because the stop loss and take profit orders at your broker were placed using the current settings. Close the open position first, then make your changes.
You can still view your current settings in the Strategy Configuration panel on the strategy page.
ℹ️ Note