AFT, All Fluence Trading

Setup guide

Set up your AFT trading bot

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).
  • A CrossTrade accountClick here to create your CrossTrade accountPaid linkStandard runs the bot. To copy trades to more accounts, choose Pro ($49 a month).
  • A Tradovate or prop firm account: demo, prop or live (how).
  • Your strategy access, claimed through Whop with your TradingView username (how).

How to get each one ready

Prefer to watch

The whole setup on video

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.

Introduction to TradingView Alerts (16:21). Goes with step 6.

Alerts That Don't Expire (5:55). The Open-ended setting in step 6.

Protect Your TradingView Account: Two-Factor Authentication (6:16). An older video, so menus may have moved.

Before you start

How to get each one ready

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.

TradingView plansHow to turn on 2FAReal-time futures data

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.

Step 1 of 8

Sign in to CrossTrade

Watch this part (0:48)

Sign in to CrossTrade

You should now see: you are signed in to CrossTrade. There is nothing to install: for Tradovate, CrossTrade runs in your browser.

Step 2 of 8

Connect your Tradovate account

Watch this part (1:07)

Open My Account in CrossTradeCrossTrade's own walkthrough

You should now see: your account listed on the Brokers screen, with Active in its Status column.

Step 3 of 8

Copy your webhook URL and secret key

Watch this part (1:56)

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.

Step 4 of 8

Add the strategy to your chart

Watch this part (2:42)

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.

You should now see: the strategy's name at the top left of the chart.

Strategy not in the list? Claim your access through Whop.

Step 5 of 8

Fill in the strategy's settings

Watch this part (3:21)

Fill the boxes first. The bot sends nothing until the key, the account and the contract are all filled in.

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
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).

Step 6 of 8

Create the alert

Watch this part (4:05)

The alert keeps the bot running on TradingView's servers and delivers its messages to CrossTrade, so your computer can be off.

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.

Step 7 of 8

Check the alert says Active

Watch this part (5:07)

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.

Step 8 of 8

Check the connection in CrossTrade

Watch this part (5:32)

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.

Open Alert History in CrossTrade

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.

What is a real problem:

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
  1. Wait until the bot holds no trade. Between 16:09 and 18:00 New York time is simplest.
  2. Link the other account in CrossTrade and copy its name (step 2).
  3. In the strategy's settings, put that name in Tradovate account and check the contract code (step 5).
  4. Delete the old alert in TradingView's alerts list, and create a new one (step 6).
  5. 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.

  1. Now and then, look up the front-month contract again (how to work it out).
  2. When it has changed, wait until the bot holds no trade. Between 16:09 and 18:00 New York time is simplest.
  3. Type the new code in the contract box (step 5).
  4. Delete the alert and create it again (step 6).
  5. 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.

CME Group trading hours and holiday calendar

More than one account

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.

Restart or re-create an alert while the strategy on the chart is flat. TradingView's note on stopped alerts.

Nothing arrives in CrossTrade
  • 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).

TradingView's webhook instructions

CrossTrade shows red rows

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.

  1. Wait until the strategy is flat. After 16:09 New York time is simplest.
  2. Open the strategy's settings and type the current code in the contract box (how to work it out).
  3. Delete the old alert and create a new one (step 6).
  4. 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.

Back to step 1Copy tradingAFT Trading Bots