TradingView · MT5 · Setup
How to connect TradingView to MT5 without sharing your password
12 Aug 2026 · Updated 13 Oct 2026 · 8 min read

Most traders who search connect TradingView to MT5 hit the same wall: TradingView cannot place broker orders, and MetaTrader 5 cannot subscribe to Pine alerts natively. The clean fix is a webhook bridge plus a local Expert Advisor — not a copy of your MT5 password sitting on someone else's server.
PineConnector is that bridge. A TradingView alert POSTs JSON to your unique URL. We map the ticker to the symbol your broker actually lists. The EA on your VPS or home terminal polls the queue and fires CTrade. Your login stays on your machine.
What you need
- A TradingView plan that allows webhook URLs on alerts
- MetaTrader 5 with Expert Advisors enabled
- A VPS or always-on PC (the EA must be running when alerts fire)
- Your broker's domain allowed under Tools → Options → Expert Advisors → WebRequest
The four-step path
- Create a PineConnector account. You get a license key and a webhook URL that already includes your user id and secret.
- Install TV2MT5Bridge.ex5, attach it to any chart, paste the license key, and set the API base URL.
- In TradingView, create an alert, paste the webhook, and put JSON in the Message field (not the default English sentence).
- Confirm auto-mapped symbols on the mapping page. Override suffixes like
.mor_iif the first guess is wrong.
If the EA is not attached, or WebRequest is blocked, the webhook can still be received and logged — the order will not exist on the broker. Check the Trade log before blaming the strategy.
Why password-based copiers are the wrong model
Investor passwords and remote terminals feel convenient until a vendor is breached. A webhook-plus-EA design never needs the password because the terminal itself places the order. That is also why symbol mapping matters: the EA sees EURUSD.m, TradingView sends EURUSD, and someone has to join those two strings.
Trial, then live
Start with a 3-day trial on one account and a small fixed lot. Watch received → mapped → queued → sent → executed in the trade log. When fills look right, add risk caps — kill switch, max daily trades, drawdown halt — described in the risk controls guide.
That path is MT5 only. The same webhook can fill Delta Exchange perpetuals or CoinDCX futures after you connect API keys. Ready to wire it up? Start the free trial or read the setup docs.