cTrader webhook: send signals to cTrader
A webhook lets almost anything place a trade on your cTrader account: a TradingView alert, an n8n or Zapier flow, a Python script, an AI model, or your own Telegram bot. Each one sends a simple HTTP request to LOTUX; LOTUX checks it against your secret, applies the risk rules you set, and the LOTUX cBot executes the order on cTrader. You never write a cBot in C# - you install the ready-made LOTUX cBot once.
How a cTrader webhook works
A webhook is just a URL that receives a message and acts on it. Instead of you clicking Buy, your tool sends a small HTTP POST (JSON) to a LOTUX URL. LOTUX is the receiver: it authenticates the request with your secret, applies your risk rules (lot size, max risk, allowed symbols), and the LOTUX cBot places the order on your cTrader account.
- You keep full control of the account - LOTUX only executes; it is not a broker.
- No cBot programming: install the ready-made LOTUX cBot, not a strategy you code in C#.
- Any sender that can make an HTTP request works - TradingView, n8n, Zapier, Python, an AI model, or your own Telegram bot.
Step 1 - Connect your cTrader account
Before a webhook can trade, connect the cTrader account once with the LOTUX cBot.
Create a license
In LOTUX, add a cTrader account and create its license key (it looks like LTX-XXXXXXXX).
Download and add the LOTUX cBot
Download the LOTUX cBot (LOTUX.algo) and add it via cTrader -> Automate -> Add -> from File (or Documents -> cAlgo -> Sources -> Robots/).
Attach it and paste the key
Drag the LOTUX cBot onto any chart, set "LOTUX License Key" to your key, and click Start. Your account shows online in LOTUX.
Step 2 - Point your sender at the LOTUX webhook
Open the External Signals app for your cTrader account in LOTUX and copy its webhook URL and secret. Then have your tool POST to that URL.
Get your webhook URL + secret
In LOTUX, open External Signals for your cTrader account and copy the webhook URL and the secret.
Send a POST from your tool
In TradingView set the alert Webhook URL; in n8n/Zapier use an HTTP step; in Python/AI use a plain HTTP POST. Include your secret and the action (buy / sell / close). The exact JSON fields are in the External Signals docs.
Test once
Fire one request. Your connected, online cTrader account receives the order and you see it in the cTrader terminal and in LOTUX history.
What works on cTrader
Everyday webhook actions work the same on cTrader as on MT5: enter (buy / sell), close, set stop-loss / take-profit, and place a limit or stop pending order. Two honest notes:
- A couple of advanced External-Signals actions - stop-limit entries and modifying an existing pending order - are on MT5 today but not enabled on cTrader yet. This is a platform-level difference, the same for every cTrader account.
- The LOTUX cBot is a client of LOTUX: it connects and waits for your commands; it does nothing on its own without the server.
Send a webhook to your cTrader account
This is the exact flow LOTUX runs for every webhook on cTrader. Choose how you host the cBot - it executes on your own account either way.
Frequently asked questions
- What is a cTrader webhook?
- A webhook is a URL that receives a message and acts on it. For cTrader, your tool POSTs a small HTTP request to LOTUX; LOTUX authenticates it with your secret, applies your risk rules, and the LOTUX cBot places the order on your cTrader account.
- Do I need to code a cBot in C#?
- No. You install the ready-made LOTUX cBot once and control it from LOTUX. The webhook carries the trade; the cBot executes it.
- Which tools can send the webhook?
- Anything that can make an HTTP request: TradingView alerts, n8n, Zapier, a Python script, an AI model, or your own Telegram bot. LOTUX does not read Telegram channels directly - your own bot forwards the message to the webhook.
- Which order types work over a cTrader webhook?
- Market orders (buy / sell / close), stop-loss / take-profit, and limit / stop pending orders. A couple of advanced actions (stop-limit entries, modifying an existing pending order) are on MT5 today but not enabled on cTrader yet.
LOTUX executes orders on your rules - it is not a broker and not investment advice. Trading carries risk; you are responsible for your own account and settings.