Eight steps. When you finish, your bot runs on your own TradingView chart and sends its orders to your own Tradovate account.
Get these before you start
A TradingView accountClick here to create a TradingView accountThe bot needs a paid plan with two-factor authentication on, and real-time futures data, a paid monthly add-on (how).
Every screen in it is a real TradingView, CrossTrade or Tradovate screen, with private details covered. The buttons under it jump to a step.
On a phone
Two short videos show the same steps on a phone: steps 1 and 2, then steps 3 to 7. Steps 1 to 3 are on CrossTrade's website in your phone's browser; steps 4 to 7 are in the TradingView app. Watch the computer version (6:46).
Steps 1 and 2 (1:03)
Steps 3 to 7 (2:11)
On a computer
Jump to a step
On a phone, turn it sideways or tap full screen to read the captions.
6:46 long, with captions. In the steps below, each "Watch this part" link plays that step here. Your browser's Back button then returns you to the step. Download the video.
TradingView's own tutorials on alerts and account security
These three are from TradingView's official channel. They cover alerts and two-factor authentication in general. The settings for your AFT bot are in the steps on this page.
The bot is a strategy that runs on your TradingView chart. A service called CrossTrade carries its orders to your Tradovate account. Every account is your own, and All Fluence Trading never has access to any of them.
You can do the setup on a phone or a computer, in a web browser. TradingView, CrossTrade and Tradovate all open as websites. On a computer, you can read along on your phone. The steps and the video show the websites on a computer screen; on a phone, some buttons sit in other places.
Words used in this guide
Webhook: a message one website sends to another by itself. TradingView sends each of the bot's orders to CrossTrade as a webhook. The webhook URL is the address those messages go to.
Contract: a futures contract for one month, for example Micro Nasdaq for December. Each has its own short code.
Root: the letters that name a futures product: MNQ for Micro Nasdaq, MGC for Micro Gold. Every contract code starts with its root.
Front month: the current contract: the nearest contract month that has not ended yet. It is the one your bot's orders have to name.
Position: the contracts your account holds right now.
Working order (also called a resting order): an order that is placed but has not filled yet, such as a stop or a target.
Flat: no position and no working orders. "The strategy is flat" means the bot holds no trade.
Demo account: a practice account with simulated money.
Prop firm: a company that gives you an evaluation or funded account to trade under its rules.
ETH: extended trading hours, the full trading day including the evening and night. RTH, regular trading hours, is the daytime part only.
New York time: US Eastern time. If you live somewhere else, search "time in New York" once and note the difference from your own clock. Times on this page use the 24-hour clock: 16:09 is 4:09 in the afternoon.
Invite-only: TradingView's name for a script that is shared privately with chosen usernames. Your bot reaches you this way.
TradingView: a paid plan, with two-factor authentication on
Check your TradingView plan. It has to be a paid plan: Essential or higher. The TradingView plans button under this list shows the plans, and is where you upgrade.A bot sends its orders as "webhook" messages, and TradingView's free Basic plan cannot send them.On Essential and Plus, TradingView's plans page lists two months as the longest an alert lasts, so on those plans you create the bot's alert again every two months (step 6 says how). From Premium up, an alert can run with no end date.
Turn on two-factor authentication. In TradingView open your profile menu, then Account Settings, then the Privacy and Security tab.TradingView only allows webhook messages with two-factor authentication enabled.
Add real-time futures data to your TradingView account. The Real-time futures data button under this list opens TradingView's page for it; there, click Subscribe to real-time CME Group futures.It is a paid monthly add-on from TradingView, and that page shows its price. TradingView sells it on its website, not in its phone app. One subscription covers both exchanges the bots trade: CME for Micro Nasdaq (MNQ) and COMEX for Micro Gold (MGC). Without it, TradingView's futures prices are delayed, and a strategy on delayed prices sends late orders.
A Tradovate account, or a prop firm account that runs on Tradovate
Have your Tradovate username and password to hand. For a prop firm account, they are the ones your firm gave you.No Tradovate account yet? Tradovate's own site offers a 14-day demo account, and asks for no payment method. The sign-up is on its home page, and the username and password you choose there are your Tradovate login.Tradovate says the demo runs for two weeks from the day you register and cannot place trades after that. Do your first run inside those two weeks.
Check your own prop firm's rules on automated trading first. Some firms do not allow it.CrossTrade lists the prop firms it connects to in its prop firm connection guide.
Pick an account that only the bot will trade.The bot keeps that account in step with its own position, so a trade you place by hand in the same contract on the same account will be closed or resized.
Do your first run on a demo account
Orders sent by a connected bot are real orders. Start on a Tradovate demo account and watch it through at least one full trade. Move to the account you intend to trade only after that. A prop evaluation or funded account is not a practice account: trades there count against your firm's limits.
Claim access to strategies through Whop
All strategy access is claimed through Whop. Type your TradingView username in your Whop membership and claim your access there.
Sign in to CrossTrade with the button below, with the account you created from the checklist at the top.No account yet? Open CrossTrade's plans page with the link in that checklist. Click Sign Up, at the top of the page. Start the free 7-day trial, or pick a plan. Any plan works for this guide. Copying trades to several accounts, or adding a loss-limit monitor, needs the Pro plan or higher. Create your account: your name, your email and a password.Sending a TradingView bot's orders to Tradovate is part of every CrossTrade plan, and the trial includes every feature. The plans page shows each plan's price. CrossTrade says you can change plans or cancel before the trial ends without being charged.
Link your demo account first. The first run is on a demo account, not on a prop firm or real-money account. No demo account yet? Get one before you go on: Before you start says where.
In CrossTrade, open My Account with the button below, then click Brokers in the menu on the left.
Click Link Demo for a Tradovate demo account, or for any prop firm login (evaluation and funded alike). Click Link Live only for your own real-money Tradovate login.Why a prop firm login uses Link Demo: in CrossTrade, "Demo" is the name of Tradovate's simulation system, and every prop firm account runs on it. Your trades there still count with your prop firm.
Tradovate's own sign-in page opens. Type your Tradovate username and password there, and click Login.You type your broker password on Tradovate's page, never into CrossTrade. Nobody at All Fluence Trading will ever ask you for this login.Beside the sign-in boxes, that page lists what Tradovate will share with CrossTrade, including "Full access including ability to modify" for orders: that is what lets CrossTrade place the bot's orders on your account.
Approve the access the page lists. You are sent straight back to CrossTrade.
On the Brokers screen, find your account's row. The Name column is your account name.A login with several accounts lists every one. Use the row of the account the bot should trade.
If the name is cut short with dots, Privacy Mode is on: switch it off before you copy the name.It is a CrossTrade switch that hides part of your account names and key on screen. Click Security in the same menu, switch Privacy Mode off at the top of that screen, and come back to Brokers to read the full name. Switch it back on after you have copied the name.
Copy the account name and keep it for step 5. Copy and paste it, do not retype it.It looks something like DEMO0000000. That one is a made-up example.
Still in My Account, click Security in the menu on the left.
Under Webhook URL, click Copy. Paste it somewhere private, such as a password manager or a note only you can open.This is the address TradingView sends the bot's orders to. You need it in step 6.
Under Secret Key, click Copy. Keep it in the same private place.It proves a message really comes from you. You need it in step 5.
You should now have these three saved: your account name (from step 2), your webhook URL and your secret key.
Your key stays with you
Your secret key and webhook URL can place orders on your account. Treat them like a password.
Never post them, send them to anyone or leave them visible in a screenshot or screen share. That includes a screenshot of the strategy's settings. TradingView also prints your settings, key and account name included, after the alert's name: in the Create alert window, in your Alerts list and in the alert log. Cover that text too.
All Fluence Trading will never ask for your key, your webhook URL, your broker password or your account number. Anyone who asks is not us.
Privacy Mode, at the top of the Security page, cuts them short on screen. Copy still copies the full value.
Every key, account name and code shown on this page is a made-up example.
Each strategy runs on one market and one timeframe, and its TradingView page states both. The Strategy Library links to every strategy's TradingView page.
Sign in to TradingView on your phone or computer. Open your strategy's TradingView page: find your strategy in the Strategy Library, open it, and follow its TradingView link. Note the market and the timeframe the page states. Then open the chart for that market:
Set the chart to the timeframe your strategy's page states. Each link above opens the chart at 1 minute.To change it, click the timeframe button in the toolbar at the top of the chart (it shows the chart's current timeframe), and choose the one your strategy's page states.
Check the chart shows regular candles, not Heikin Ashi, Renko or another special chart type (those draw the price in other ways, and the bot is not built for them).To change it, click the chart-type button in the toolbar at the top of the chart, just left of Indicators, and choose Candles.
Check extended trading hours are on: the session button in the toolbar at the bottom of the chart, on the right beside the clock, reads ETH.If it reads RTH, click it and choose the extended hours session.
Check no other strategy is on this chart. Give the bot a chart layout of its own.Everything on a chart is listed by name at its top left. A new layout starts with nothing on it.To make one: click Manage layouts in the top toolbar, then Create new layout, and give it a name. Then open your bot's chart link above again.
At the top of the chart, click Indicators.
In the window that opens, click Invite-only in the list on the left.
Click Strategies.
Click your strategy's name, once. Then close that window.
You should now see: the strategy's name at the top left of the chart.
Fill the boxes first. The bot sends nothing until the key, the account and the contract are all filled in.
Hover over the strategy's name at the top left of the chart, and click the gear icon (Settings).
You are on the Inputs tab. Under ★ SIZING ★, leave Multiplier (× the strategy's contracts) at 1 for your first run.What it does is under Changing the size, further down this page.
Scroll down to the group called ★ CROSSTRADE ★.
In CrossTrade secret key, paste your secret key from step 3.
In Tradovate account, paste your account name from step 2, exactly as CrossTrade shows it. For the first run, this is your demo account.In some strategies the label is longer, for example Tradovate account (exact name, case-sensitive).
Find the code of the current contract. How to work out your contract code, just below this list, takes four short lines. Do not copy a code from this page: the right one changes every few months.
Type that code into the contract box. The box and its label differ from strategy to strategy: use the one in the ★ CROSSTRADE ★ group whose label names the contract.A code shown inside the label is only an example. Do not leave the box blank: nothing is sent while it is empty.
Last, scroll back up to the top of the ★ CROSSTRADE ★ group. If the settings show a box named Send live orders to CrossTrade, tick it. Newer versions have no such box: they send orders as soon as the alert is on.The box's label can be longer, for example Send live orders to CrossTrade (off = log only). With it off, nothing is sent to CrossTrade. "Live" here means "send the orders for real". It has nothing to do with Link Live in step 2: tick it for a demo account too.
Leave every other input as it came, and click OK.
You should now see: the settings window is closed and the strategy is on the chart with no error message.
The contract code goes out of date every few months. What to do then is under When the contract month changes, further down this page.
How to work out your contract code
The chart uses a symbol that never expires (MNQ1!, MES1!, MGC1!). An order has to name one dated contract. The code is the root, then a month letter, then the last digit of the year:
MNQZ6 (example)
MNQ · Z = December · 6 = 2026
MESH7 (example)
MES · H = March · 7 = 2027
MGCG7 (example)
MGC · G = February · 7 = 2027
Sign in to Tradovate's web app at trader.tradovate.com, with the login you linked in step 2.If your prop firm gave you its own address for the Tradovate platform, sign in there instead.
In the Search Bar at the top of the app, type the root: MNQ, MES or MGC.
Click a result. A Quote Info window opens. Its Front Month line says whether this is the front-month contract, which is the current one. If it is not, click the next result and look again.
Type the code of the front-month contract into the contract box, written in exactly the format above.
The month letters, and when the contract changes
JanF
FebG
MarH
AprJ
MayK
JunM
JulN
AugQ
SepU
OctV
NovX
DecZ
MNQ and MES have four contracts a year: March (H), June (M), September (U) and December (Z).
MGC trades mainly in February (G), April (J), June (M), August (Q) and December (Z).
TradingView's symbol search lists the same contracts with a four-digit year, for example MNQZ2026. Keep only the last digit of the year.
When trading moves on to the next contract month, the code in your settings is out of date. Wait until the strategy is flat (it holds no trade; after 16:09 New York time is simplest), type the new code, then delete the alert and create it again (step 6).
The alert keeps the bot running on TradingView's servers and delivers its messages to CrossTrade, so your computer can be off.
First check your account is flat in that contract: no position and no orders waiting.In Tradovate's web app, the Positions and Orders windows show them. Open each from the + menu at the top left.
Click Alert, in the toolbar at the top of the chart.
In the Condition box, choose the strategy by name.
In the second box, directly under Condition, choose alert() function calls only.Not the two choices that mention "Order fills". If this choice is not offered, the Condition box above it is not set to your strategy yet.
Set Interval to 1m.The alert then runs on the 1-minute timeframe whichever timeframe your chart is showing.
Click Expiration and choose Open-ended, which means no end date. If it is not offered, the alert will stop on the date shown: read the note under this line.Open-ended not offered? TradingView's plans page lists alerts with no end date from the Premium plan up, and two months at most on Essential and Plus. Pick the furthest date you are offered. Put a reminder in your calendar a few days before it: on that day, after 16:09 New York time, delete the alert and create it again with these same steps.
Click Notifications, the last row of the window. A second screen opens.
Tick Webhook URL, and paste your webhook URL from step 3 into the box under it.
Click Apply, at the bottom right. You are back on the first screen.
Leave the Message box exactly as it is. Do not type or paste anything into it.The strategy writes every message itself.
Click Create, at the bottom right.
You should now see: the alert window closes. Step 7 checks that the alert is running.
One alert, and only one
A second account never gets an alert of its own. To run the bot on more accounts, use the second guide, Copy trading. A second alert makes trades happen twice.
Never create a second alert for the same strategy on the same account. Both would send orders to it.
The alert remembers the settings it was created with. If you change a setting later, delete the alert and create a new one, while the strategy is flat (it holds no trade).
Editing or re-saving a running alert restarts it, which cancels that contract's working orders on the account. Only do it while the strategy is flat.
If you name the alert, never put your key or account name in the name.
Click the clock icon on the right edge of TradingView. Your list of alerts opens.
Find your alert in the list. It carries your strategy's name.
You should now see: the word Active on your alert.
The long text after the alert's name is the strategy's settings and contains your key. Never share a picture of it uncovered.
This is the first place to look whenever something seems off. If the bot is not placing trades, come back here. An alert that does not say Active means the bot is not running: see the alert stopped.
You do not need to place a test trade. When the alert starts, the bot sends a few messages of its own that carry no trade, and you can see them arrive. Messages only go out while the market is open: Sunday 18:00 to Friday 17:00 New York time (US Eastern time), with a daily break from 17:00 to 18:00.
In CrossTrade, open Alert History with the button below.
Wait for rows to appear for your account. Give it up to ten minutes of open market. Every message the bot sends shows up here.Market closed right now? Nothing arrives until it opens. That is not a fault: come back and look after the open.
Read the colour of each row:
Accepted (green)
The message went through to Tradovate. This is what a working bot looks like.
Blocked (orange)
Normal when the row reads "No open position": the bot sent a close while the account was already flat.
Rejected (red)
Normal on a Cancel Order row that says the order had already filled or finished.
Warning (yellow)
Read the message on the row. It says what happened.
In Tradovate's web app, check the account holds no position and no orders you did not expect (the Positions and Orders windows, as in step 6).
You should now see: rows for your account in Alert History. That is the connection working. When the bot takes its first trade, the entry, the stop and the targets appear in Tradovate.
The alert in TradingView no longer says Active: see the alert stopped.
That is the whole setup. Watch the bot through at least one full trade on your demo account before you move to the account you intend to trade.
Moving the bot from your demo account to another account
Wait until the bot holds no trade. Between 16:09 and 18:00 New York time is simplest.
Link the other account in CrossTrade and copy its name (step 2).
In the strategy's settings, put that name in Tradovate account and check the contract code (step 5).
Delete the old alert in TradingView's alerts list, and create a new one (step 6).
Check it the same way (steps 7 and 8).
After the setup
Running it day to day
What the bot does at the end of each day
Every trading day at 16:09 New York time the strategy closes any open position and cancels any resting order, on the chart and on your account. It places nothing new until the evening session opens at 18:00. You do not have to do anything.
That window, 16:09 to 18:00 New York time, is also the safe time for anything that restarts the alert: changing a setting, updating the contract code, deleting and re-creating the alert.
When the contract month changes
A futures contract ends, and trading moves on to the next contract month every few months (four times a year for MNQ). The code in your settings then points at the old contract.
Now and then, look up the front-month contract again (how to work it out).
When it has changed, wait until the bot holds no trade. Between 16:09 and 18:00 New York time is simplest.
Type the new code in the contract box (step 5).
Delete the alert and create it again (step 6).
In Tradovate, check that nothing is left in the old contract.
Changing the size: the Multiplier
Multiplier (× the strategy's contracts), in the group ★ SIZING ★, multiplies every order the strategy places. At 1 the strategy uses its own sizing. At 2 every order doubles, and risk and profit both double. Drawdown grows by the same factor.
Every strategy: with the Multiplier at 1, the List of Trades in TradingView's Strategy Tester shows the contracts each order uses.
Slipstream: order size is Contracts per trade, in the same group, times the Multiplier.
Midas: each of its models has its own fixed contract count, and the Multiplier multiplies all of them.
Choose the size by the drawdown your account can carry, not by the profit you hope for. Because the alert keeps its settings, a new Multiplier needs a new alert.
Holidays and early-close days
Market closed all day: nothing to do.
Early-close days (the exchange shuts before its usual time, for example around US Thanksgiving and Christmas): unless your strategy's TradingView page says it handles early closes, switch its alert off for that day, as in the last line of this list. Two of the strategies in detail:
Slipstream has the exchange's 2026 early-close days written into it and closes ahead of them. It does not know early closes after 2026 or other exchange holidays. On such a day, a position open at the early close is carried to the reopen and closed there.
Midas does not know about early closes. A position still open at an early close is carried through the break and managed as usual after the reopen.
If you would rather sit a holiday out: after the 16:09 close on the last normal day, stop the alert in TradingView's alerts list. Restart it after 16:09 and before 18:00 New York time on the day normal trading resumes, or any time the strategy on the chart is flat.
To have your other accounts follow the account your bot trades, use the second guide: Copy trading. It also covers CrossTrade's optional account monitor, which puts fixed rules on an account, such as a daily loss limit. Finish this guide first.
If something is wrong
Troubleshooting
The alert stopped
An alert that is not Active sends nothing, and the bot is no longer managing your account. Check Tradovate first: if a position or working orders are still there, they are yours to manage by hand until the alert runs again.
It expired. Create it again (step 6), with Expiration set to Open-ended or to the furthest date your plan offers.
TradingView stopped it for firing too often. TradingView stops a script alert that fires more than 15 times within three minutes. Restart it from the alerts list. If it happens again, write to us.
The script hit an error: see "The script shows an error" below.
The key, the account or the contract box is empty, or, in a version that has a Send live orders to CrossTrade box, that box is not ticked. Fix the setting (step 5), then delete the alert and create it again (step 6).
The alert has no webhook URL, or two-factor authentication is off in TradingView. Open the alert log in TradingView: click the clock icon on the right edge, then the Log tab beside Alerts. Its Webhook status column shows delivery problems.
The alert's condition is not alert() function calls only.
The market is closed. With no new price bars, no messages are sent.
Your TradingView plan cannot send webhooks (the free Basic plan cannot).
A red row on a Cancel Order that says the order had already filled or finished is normal. On a red Place Order row, the message says what was wrong. The common causes:
The account name does not match. Copy it again from My Account, Brokers, and paste it into Tradovate account in the strategy's settings.
The Tradovate link expired. Click Link Demo or Link Live again and sign back in. Messages sent while the link was down are not queued.
The Kill Switch is on in CrossTrade's Master Controls. It is CrossTrade's own stop switch: while it is on, CrossTrade refuses every alert. Switch it off there.
The key is wrong, for example it was cut short when pasted.
The contract code is wrong or expired. See the next item.
After fixing a strategy setting, delete the alert and create it again.
Wrong contract month, or the contract expired
Signs: red rows in Alert History that name the instrument, or orders landing in a contract month you did not mean to trade.
Wait until the strategy is flat. After 16:09 New York time is simplest.
Open the strategy's settings and type the current code in the contract box (how to work it out).
Delete the old alert and create a new one (step 6).
In Tradovate, check that nothing is left in the old contract.
The script shows an error: wrong timeframe or symbol
Each strategy runs only on its own market and timeframe, the ones its TradingView page states. Slipstream runs only on MNQ and Midas only on MGC, each on the 1-minute chart; anywhere else they stop with a message. Put the chart back on the right symbol and timeframe (the chart links are in step 4).
An alert keeps the symbol and timeframe of the chart it was created on. An alert created on the wrong chart has to be deleted and created again on the right one.
I changed a setting and nothing changed
A TradingView alert keeps the strategy settings from the moment it was created. Delete the alert and create a new one for the change to take effect, while the strategy is flat.
The account does not match the chart
The usual cause is a trade or an order placed by hand in the same contract on the same account, or a second alert on the same account. Stop the alert, close that contract's position and orders in Tradovate, remove any duplicate alert, and start again when the strategy on the chart is flat. Keep trading by hand on a different account.
I think my key was exposed
Stop the alert first, then check Tradovate for positions and orders you did not expect. In CrossTrade open My Account, Security, and click Regenerate Key. Put the new key into the strategy's settings (step 5) and create a new alert (step 6). Do not send the old or the new key to anyone, us included.
Still stuck? Write to support@allfluencetrading.com or ask in the Discord. Say which bot, which step and what the screen shows. Cover your key, webhook URL, account name and the text after the alert's name in any screenshot.