If your strategy already fires alerts on TradingView, you're most of the way to fully automated trading. With a webhook and a one-line order command, those alerts can place, modify and close real orders on MetaTrader 5 — no programming required.
What you need
- A TradingView account that can send webhook alerts.
- A MetaTrader 5 terminal (on your PC or a VPS) running the TradeBridge Expert Advisor.
- A TradeBridge license key.
Step 1 — Install the Expert Advisor
Copy the TradeBridge EA into your MT5 MQL5/Experts folder, allow Algo Trading, and add the server URL under Tools → Options → Expert Advisors → Allow WebRequest. Drop the EA on any chart and paste your license key. Your account shows as connected within seconds.
Step 2 — Point your alert at the webhook
Create a TradingView alert, open Notifications, tick Webhook URL, and paste:
https://tradebridge.live/api/webhook/tradingview
Step 3 — Write the order command
In the alert's Message box, describe the trade with a simple comma-separated command:
BUY,EURUSD,VOLUME=0.10,SL=50,TP=100,KEY=TB-XXXX-XXXX
Use RISK=1 instead of VOLUME= to size by a percentage of your balance, add TRAIL= for a trailing stop, or send CLOSE,EURUSD,KEY=... to exit. The in-app Alert Builder writes the exact string for you and lets you fire a test signal before going live.
Step 4 — Test, then go live
Always send a test from the Alert Builder first and confirm the order appears on MT5 and on your dashboard. Once it works, save your TradingView alert — every time it triggers, the trade is placed automatically.