TradingView to MT5 automation — install the TradeAdapter Expert Advisor

Set up the MT5 bridge for tradingview to mt5, tradingview webhook automation, and no-code trading automation with low latency trade execution through TradeAdapter.

Video

Watch the MetaTrader 5 setup walkthrough

Step 1

Download TradeAdapter Expert Advisor for MT5

Download the stable or beta EA build for your MT5 terminal.

TradeAdapter for MT5 (v1.069) TradeAdapter for MT5 (v1.075) - Beta

Change log

v1.069 - TP/SL = 0 handling fixes.

v1.068 - Volume adjustment in EA settings.

v1.066 - Partial position closure.

v1.07x (Beta) - Flip on Close, market position control, CloseAll.

Symbol alignment FAQ

Step 2

Copy the EA into your MT5 Experts folder

Windows: C:/Program Files (x86)/MetaTrader 5/MQL5/Experts
Mac: /Users/Your user/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Experts

Open the data folder from MT5, copy files into MQL5 → Experts, then restart MT5 or refresh Expert Advisors.

Data folder
MT5 open data folder
Experts folder
MT5 Experts path
Refresh
Refresh Expert Advisors MT5
Step 3

Configure MetaTrader 5 Expert Advisor options

Enable automated trading, allow WebRequest for listed URLs, and add https://mt.tradeadapter.com under Tools → Options → Expert Advisors.

Options
MT5 Options
Allowed URLs
MT5 allowed URLs
Step 4

Enable Auto Trading and attach the EA

Enable Auto Trading, refresh Navigator (Ctrl+N), then drag and drop TradeAdapter onto the chart you want to automate.

Auto Trading
MT5 Auto Trading
Attach EA
Drag EA to MT5 chart
Step 5

Enter your TradeAdapter API key

Paste your TradeAdapter API key from your profile page. Track executions on MetaTrader MyTrades.

API key
MT5 EA API key field
Step 6

TradeAdapter EA input reference

  • TradeAdapter_API - Required TradeAdapter API key.
  • TradingView_Symbol - Optional override when TV symbol differs from MT5 chart symbol.
  • Order_Size - Optional override for alert contract size.
  • Order_Size_Adjustement - Optional multiplier for order size.
  • Filling Type - Change to IOC if you see invalid filling type errors.
  • ConnectionLogDisplay - Disable sync logs in the terminal if needed.

EA settings
MT5 EA settings panel

Align TradingView and MetaTrader symbols

How to align TradingView and MetaTrader symbols

What the Expert Advisor does and how the pieces fit together: TradingView to MT5 and MT4 automation.