cTrader

AlgoWay Blog

Guides, manuals and platform references.

Core
JSON & Alerts
MT5 / Expert Advisors
Errors
Integrations
Other Publications
AlgoWay Strategy Lab

How to Connect Lucid Trading to TradingView

TradingView alerts routed through AlgoWay to a Lucid Trading account using Tradovate or Rithmic

If you want your TradingView indicator or Pine Script strategy to place futures orders on a Lucid Trading account, connect the account to AlgoWay and send your TradingView alerts to its webhook. Lucid offers two execution environments: Tradovate (CQG) and Rithmic. The setup differs for each, but you can use the same TradingView alert workflow once the connection is ready.

Connecting a broker account to a chart is not the same as automating a strategy. This tutorial is about automated order execution: your indicator or strategy produces the signal, AlgoWay receives it, and the configured connector sends the order to your Lucid account. You do not need to run a desktop trading terminal or rent a VPS for this webhook route.

Updated December 2, 2026 · AlgoWay

Your Lucid accountDestination in AlgoWayWhat you need
Tradovate / CQGTradovateTradovate login, account type and account ID
RithmicRithmicRithmic user ID, password, system and account ID

Not sure which environment you have? Check the credentials supplied in your Lucid dashboard or welcome email. The two sets of credentials are not interchangeable. See Lucid's supported platforms and the official account setup guide.

Jump to: Tradovate setup · Rithmic setup · TradingView alerts · Indicators without quantity · Test the connection

How to connect Lucid Trading to TradingView via Tradovate

1. Activate your Lucid Tradovate login

Use the Tradovate credentials supplied by Lucid, not your Lucid website password unless they happen to be the same. Lucid instructs new CQG-account users to log in to Tradovate first. Complete any initial account agreements or activation steps shown there. Find the exact account ID you intend to automate and confirm whether your credentials belong to the demo or live environment. A funded prop account is not necessarily a live brokerage environment; use the environment assigned to your actual login.

2. Create a Tradovate webhook in AlgoWay

Sign in to AlgoWay, open Trade Webhooks and create a connection. Select TradingView as the source and Tradovate as the destination. Choose the trial or paid option available in your account.

AlgoWay webhook creation dialog
AlgoWay setup: choose the webhook option available to your account.

Use these settings for the initial configuration:

FieldValue
Source / PlatformTradingView / Tradovate
Quantity MultiplierAbsolute, with multiplier 1 for an unchanged contract count
Trade TypeReverse / Netting
Account TypeDemo or Live, according to your assigned environment
Email or UserName / PasswordYour Lucid-issued Tradovate credentials
Account IDThe exact Tradovate account identifier you want to trade
Tradovate login and account settings in AlgoWay
Tradovate connection form from the AlgoWay integration guide. Use your own Lucid account details.

3. Authorize the connection

Save the webhook and wait for Tradovate authorization to finish. Do not proceed until AlgoWay reports a successful authorization and the connection appears in your account. If multiple accounts are returned, verify the exact destination instead of relying on the first account. Your webhook URL identifies that connection. Copy it from the dashboard, and keep it private.

For further details, see the Tradovate integration guide. Continue with the connection test before activating your TradingView strategy.

How to connect Lucid Rithmic to TradingView

1. Activate the Rithmic account

Complete Lucid's Rithmic trading agreements before connecting. Lucid provides instructions for signing them in R|Trader and an online agreement page for Mac users. Check that the assigned user ID and password work with the Rithmic system provided for your account. Do not guess the system based on the word funded or evaluation.

2. Create a Rithmic webhook in AlgoWay

Open Trade Webhooks, choose TradingView as the source and Rithmic as the destination. In the form, enter the following values:

FieldValue
Source / PlatformTradingView / Rithmic
Quantity MultiplierAbsolute, multiplier 1 for the initial test
Trade TypeReverse / Netting
Rithmic SystemThe system assigned to your Rithmic login
Rithmic User ID / PasswordYour Lucid-issued Rithmic credentials
Account IDSpecify the intended account if more than one is available
Symbol MappingOnly if needed for the destination's instrument naming
Rithmic selected as the destination in AlgoWay
Select Rithmic as the execution destination.
Rithmic webhook settings including account and system fields
Rithmic connection form from the AlgoWay integration guide. The system shown in an example is not a Lucid-specific recommendation.

AlgoWay does not require a separate Rithmic API key in this form. The login, system and selected trading account identify the connection.

3. Check Connection and save

Click Check Connection. If there are multiple trading accounts, enter the exact Account ID and repeat the check if necessary. Once you receive Connection OK, save the webhook and copy its unique URL. Do not confuse a successful login with successful order execution: complete the test described below.

The Rithmic integration guide covers supported order types, protective orders, symbol resolution and common login problems in more detail.

Test your Lucid connection before enabling automation

Open Webhook Logs in AlgoWay and use Test Webhook for the connection you just configured. Select the intended account and an active futures contract supported by that account. Use an authorized demo or test account where possible. The examples in this guide are message formats, not trading recommendations.

For a first test, use a permitted whole-contract quantity and the exact destination symbol. For Rithmic, the documented continuous ticker example is MES1!; verify which dated contract it resolves to. For Tradovate, use a contract symbol accepted by your selected account rather than guessing an expiry.

Check the result in Webhook Logs and in the destination account's order and position records. A successful webhook delivery does not guarantee a fill. Confirm the account, symbol, side and quantity, then verify the closing workflow as well. If the test produces an unexpected position or rejection, stop and correct it before enabling alerts.

Connect TradingView alerts to your Lucid account

After the route works, open the chart containing your indicator or strategy in TradingView. Create an alert with the appropriate signal condition. In Notifications, enable Webhook URL and paste the exact URL copied from AlgoWay. In the Message field, enter the trading instruction. TradingView requires two-factor authentication for its native webhooks; your plan must also provide the webhook feature. See TradingView's webhook instructions.

Never place account credentials in the alert message. The webhook URL is also sensitive: use the private value from your own dashboard, not a URL copied from a tutorial.

Indicator alerts: separate buy and sell conditions

For an indicator with separate long and short conditions, create the alert for the buy condition first. Here is an example of a Tradovate entry message using one contract and the chart ticker:

{
  "platform_name": "tradovate",
  "ticker": "{{ticker}}",
  "order_action": "buy",
  "order_contracts": 1
}

For a Rithmic connection, the corresponding entry message is:

{
  "platform_name": "rithmic",
  "ticker": "{{ticker}}",
  "order_action": "buy",
  "order_contracts": 1,
  "order_type": "market"
}

Create the sell-condition alert with order_action set to sell and use the same webhook URL for that account. These examples describe entry signals; for closing an existing trade or reversing exposure, configure the intended action explicitly and test the selected trade mode. Do not assume that every sell signal means close.

TradingView substitutes {{ticker}} with the chart symbol. If the symbol is not accepted by the destination, configure Symbol Mapping or use the exact contract required by the connector. For continuous charts, see how to check futures rollover in automated trading.

Pine Script strategy alerts

For a strategy that generates its own order messages, choose the relevant strategy order-fill alert and use {{strategy.order.alert_message}} in the Message field when the script supplies compatible alert_message values. If it does not, build the message according to its actual entry and exit logic. {{strategy.order.action}} reports buy or sell for an executed simulated order, and {{strategy.order.contracts}} reports the transaction size. Neither alone says whether the strategy intends an entry, a partial exit or a reversal.

Use explicit close instructions where needed and verify the behavior of your Tradovate or Rithmic connection. Test the complete entry, exit and reversal sequence before allowing a strategy to manage the account. Read the strategy alert placeholder guide for the difference between order action and position state, and the AlgoWay JSON schema for supported actions.

Automate Lucid Trading with an indicator that sends only buy and sell signals

Your indicator does not have to produce a complete order JSON. If it sends a clear text signal, AlgoWay AI can normalize the message, and the configured webhook determines the execution platform. For indicators that cannot supply quantity, Manual Order Size can provide it directly from the connection settings.

For example, suppose your alert sends:

MES1! BUY

In the AlgoWay webhook's Advanced Settings, enable Manual Order Size and enter the exact incoming ticker with the permitted whole-contract quantity:

MES1!:1, MNQ1!:1

This example configures one contract for each of those incoming symbols. Use the ticker that the alert actually sends before symbol mapping. Set the destination multiplier appropriately and verify the executable contract. AI normalization interprets the symbol and action; the configured route supplies the platform and the size setting supplies the matching entry quantity.

Manual Order Size is off by default and overrides quantities for matching entry signals, even if the alert already supplies a quantity. Prefer explicit strategy sizing whenever you can. It does not generate a missing trading direction, resolve an ambiguous alert or change close and modify commands. For a proprietary indicator, test its actual generated message rather than assuming its format is compatible.

See the Manual Order Size reference and plain-text alert examples.

Common Lucid Trading automation problems

ProblemWhat to check
Tradovate authorization failsInitial Tradovate login, credentials and the assigned demo/live environment.
Rithmic connection failsTrading agreements, credentials and the assigned Rithmic system. Lucid notes that weekend maintenance can affect access.
Wrong account receives ordersAccount ID and the webhook URL attached to the TradingView alert. Pause new alerts until corrected.
Symbol rejectedActive expiry, destination symbol, Symbol Mapping and contract permissions.
Market data subscription errorVerify the data entitlement for the selected contract with your account provider.
Incorrect contract sizeIncoming quantity, multiplier, Manual Order Size override and Lucid account limits.
TradingView alert fires but no order appearsWebhook delivery status, AlgoWay Webhook Logs and the destination order record. Reconcile existing positions before retrying.

Does Lucid Trading allow automated trading?

Yes. Lucid's official trading activities policy permits automated systems and trade copiers, subject to its trading rules. That permission does not exempt an automated strategy from position limits, drawdown rules, news restrictions or prohibited trading behavior. For example, Lucid prohibits HFT. Check the current requirements of your account program before enabling automation.

Frequently asked questions

Can I automate TradingView indicators and strategies on Lucid Trading?

Yes. Use AlgoWay's Tradovate or Rithmic webhook according to the account environment assigned by Lucid. The indicator or strategy must generate an actionable alert, and the account connection and orders must be validated.

Do I need a separate VPS for Lucid Trading automation?

No. AlgoWay processes TradingView webhook alerts and routes orders in the cloud. You do not need to keep your computer or a trading terminal running for this route.

Does TradingView need Premium?

Premium specifically is not the requirement. You need access to the alert type and delivery method used by your setup. For native webhook alerts, check the plan's webhook entitlement and enable two-factor authentication. AlgoWay also documents a separate free-alert workflow with its own requirements.

Can I automate more than one Lucid account?

AlgoWay offers account-specific connections and Clone Mode. Each destination must be configured and verified separately; check your subscription limits and Lucid's copying and hedging rules. See the Clone Mode guide.

Ready to configure your account? Open AlgoWay, select Tradovate or Rithmic, create the connection and test your first alert before enabling your strategy. For account environment details, see TradingView automation for Lucid Trading.

Last updated: December 2, 2026