Send a webhook signal to MT5 and cTrader
LOTUX External Signals lets any system that can send an HTTP request - n8n, Zapier, a Python script, an AI bot, or a Telegram bot - open, modify, and close trades on your own MT5 or cTrader account. You keep your risk rules; LOTUX enforces them on every request. This guide covers the setup flow; the exact payload schema lives in the product docs.
How it works
A webhook is just a URL that accepts an HTTP request. Your tool (n8n, Zapier, a Python script, an AI/Telegram bot) sends a small JSON message to your LOTUX webhook. LOTUX authenticates it with your secret, checks your risk rules, and executes on your connected account - MT5 through the LotuxBridge EA, cTrader through the LOTUX cBot.
- Any language or no-code tool that can POST JSON works - no MetaTrader DLL, no ZeroMQ bridge to build.
- Same webhook, both platforms - the account you target decides MT5 or cTrader.
- Your risk rules run on every request before an order is placed.
Step-by-step: send your first signal
Connect an account
Connect an MT5 or cTrader account once (create a license → install the EA/cBot → paste the key). See the TradingView guide for the exact connect steps - they are identical for External Signals.
Enable External Signals
Open the External Signals app for that account in LOTUX and copy its webhook URL and secret.
Send a request
From your tool, POST a JSON message with the action (e.g. buy / sell / close) and your secret. For External Signals, include an X-Idempotency-Key header so a retried request is not executed twice.
Confirm
A connected, online account executes the order; you see it in your terminal and in LOTUX history. Check the dashboard if a request is rejected - it tells you why.
curl -X POST "<your-webhook-url>" \
-H "Content-Type: application/json" \
-H "X-Idempotency-Key: <unique-id-per-signal>" \
-d '{ "secret": "<your-secret>", "action": "buy", "symbol": "EURUSD" }'What you can do on each platform
| Action | MT5 (EA) | cTrader (cBot) |
|---|---|---|
| Open / close (buy, sell, close) | Yes | Yes |
| Modify stop-loss / take-profit | Yes | Yes |
| Limit / stop pending orders | Yes | Yes |
| Stop-limit entries, modify pending (advanced) | Yes | Not enabled yet |
Automate your own account
This is the exact path LOTUX runs for every webhook signal. Choose how you host the bridge - both execute through your own EA/cBot.
Frequently asked questions
- Can I send signals from an AI bot or ChatGPT?
- Yes - anything that can make an HTTP request. Your AI or automation decides the trade and sends a webhook; LOTUX authenticates it, applies your risk rules, and executes. LOTUX does not generate signals or give advice.
- Do I need to build a MetaTrader plugin or ZeroMQ bridge?
- No. You send a plain JSON webhook. The LotuxBridge EA (MT5) or LOTUX cBot (cTrader) already runs on your account and receives the order from LOTUX - no custom DLL or socket bridge to build.
- What stops a duplicate from trading twice?
- External Signals uses an X-Idempotency-Key header. If the same key arrives again (e.g. a retry), LOTUX treats it as a duplicate and does not execute a second time.
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.