Route TradingView alerts to cTrader
TheConnector covers cTrader users who want to keep TradingView for signals while executing in their broker's cTrader environment.
Use case
Use this page to understand how TradingView webhooks can be routed to a cTrader account.
- TradingView alert to cTrader
- cBot or execution connector
- Multi-account routing when the plan allows it
Symbols and brokers
cTrader instrument names can differ from TradingView tickers, especially on indices, metals and CFDs.
- Validate every symbol before production
- Document broker suffixes
- Use the symbol mapping guide for setup details
Related setup pages
Continue with pricing, documentation and the MT4 or MT5 workflows when you compare platforms.
- Review pricing and availability
- Compare the MT4 workflow
- Compare the MT5 workflow
Webhook payload example
Keep payloads explicit: the account connector can route the alert only when the action, symbol and target platform are clear.
{
"action": "buy",
"symbol": "EURUSD",
"risk": 0.5,
"sl": 15,
"tp": 30,
"source": "TradingView",
"id": "tv-tradingview-to-ctrader-test-001",
"account": "DEMO-CTRADER-001",
"platform": "ctrader"
}
Alert pattern to adapt
Use this as a reading pattern, then adjust order size, symbols and account routing before any real use.
//@version=5
indicator("The Connector webhook", overlay=true)
fast = ta.sma(close, 9)
slow = ta.sma(close, 21)
longSignal = ta.crossover(fast, slow)
if longSignal
alert("{\"action\":\"buy\",\"symbol\":\"" + syminfo.ticker + "\",\"risk\":0.5,\"sl\":15,\"tp\":30,\"source\":\"TradingView\",\"id\":\"" + syminfo.ticker + "-" + str.tostring(time) + "\",\"account\":\"DEMO-CTRADER-001\",\"platform\":\"ctrader\"}", alert.freq_once_per_bar_close)
Limits to keep in mind
- Test each alert on a demo account before production.
- Broker, platform and network conditions still matter: validate the route before increasing volume.
- Use symbol mapping to adapt broker-specific names before sending live signals.
- A signal that arrives too late must be treated as expired rather than replayed.
cTrader Automate and cBot checks
cTrader routing depends on an active cBot or bridge, correct permissions, a healthy connection and broker symbols that match the account environment.
- The cBot or bridge is running and connected before the TradingView alert fires.
- Automate permissions and broker symbol names are checked in demo.
- The connection and bridge status stay visible before increasing size or frequency.
Demo-first payload for this platform
Use placeholders only. With a per-account webhook URL, account and platform are optional but useful when documenting a shared route.
{
"action": "buy",
"symbol": "EURUSD",
"volume": 1000,
"sl": 15.0,
"tp": 30.0,
"source": "TradingView",
"id": "tv-tradingview-to-ctrader-demo-001",
"account": "DEMO-CTRADER-001",
"platform": "ctrader"
}