This is a practical how to connect TradingView to MT4 and MT5 guide using TradingView Bridge. Plan about 30 minutes for first-time setup; daily use is just: start bridge → open MetaTrader → trade.
What you need
- Windows 10 or 11 (or Windows Server VPS)
- MetaTrader 4 and/or 5 from your broker or prop firm
- A TradingView account (free plan works)
- TradingView Bridge bridge installer + compiled experts (
.ex4/.ex5)
Step 1: Install the bridge
Download and run the bridge installer from your customer dashboard after purchase or trial signup. Launch the app and leave it running during trading sessions.
Step 2: Install the Expert Advisor (MT4 and/or MT5)
Using the bridge installer (recommended):
- Open bridge Settings → MetaTrader EA installer
- Click Install MT5 EA, Install MT4 EA, or Install both
- Restart MetaTrader or refresh Expert Advisors in the Navigator
Manual copy:
- MT5: paste
TradingViewTradeAutomation.ex5intoMQL5/Experts - MT4: paste
TradingViewTradeAutomation.ex4intoMQL4/Experts
Then on either platform:
- Drag the expert onto a chart
- Enable AutoTrading / Algo Trading
- Allow algorithmic trading in terminal settings if prompted
Step 3: Point bridge and EA to the same queue
Both the bridge and EA use MetaTrader’s shared Common\Files folder for the signal queue
(tv2mt_signals.queue). MT4 and MT5 on the same PC share this path — the bridge UI shows it.
Step 4: Sign in to TradingView inside the bridge
Open the built-in TradingView window from the bridge. Log in with your TradingView account. Navigate to the chart and timeframe your strategy uses.
Step 5: Create your first test alert
On a demo account, create a TradingView alert with this message:
buy,{{ticker}}
Or specify the symbol explicitly: buy,EURUSD,vol_lots=0.01
When the alert fires, check the bridge’s alerts tab and confirm MetaTrader opened a small test trade. The EA feedback tab shows success or block reasons (spread, session, symbol map, etc.).
Step 6: Configure symbol mapping (if needed)
If your broker uses suffixes (EURUSDm, XAUUSD+, GOLD), map TradingView tickers
to broker symbols in the bridge UI before going live.
Step 7: Set risk (MT5 panel or alert fields)
Optional but recommended before live trading:
- MT5: use the on-chart EA panel for lot mode, SL/TP, sessions, and max spread
- MT4 & MT5: pass
vol_lots,sl_pips,tp_pips, orrisk_pctin the alert message
Daily routine
- Start the bridge (TradingView window available)
- Open MT4 and/or MT5 with the expert attached
- Verify AutoTrading is on
- Let alerts execute — monitor feedback in the bridge
Troubleshooting quick fixes
- No trade opened: check symbol map, lot size minimum, max spread, session filter
- Alert not captured: confirm bridge is running and TradingView is signed in
- EA not trading: AutoTrading off, wrong chart, or license not activated
Prop firm specific tips: automate on prop firm MT4/MT5. Avoid TV Pro webhooks: alerts without Pro.