How to configure a TradingView webhook to MetaTrader 5 step by step.
Learn how to configure a TradingView webhook to MT5 so your alerts execute automatically inside your MetaTrader 5 account. No coding required: copy the URL, paste the alert message, and attach the SignalForge EA.
The quick version.
To configure a TradingView webhook to MT5 you need a valid webhook URL (SignalForge gives it when you create an account), an alert message in JSON format, and the SignalForge EA running on MetaTrader 5. The whole setup takes less than 10 minutes.
What is a webhook and why do you need one?
A webhook is a unique URL where TradingView sends your alert whenever a strategy condition is met. Instead of sending you an email or pop-up, TradingView makes an HTTP request with the signal data.
SignalForge receives that request, validates your token, interprets the message, and translates the alert into a buy or sell order inside MetaTrader 5. Everything runs in the cloud, so you don’t need to keep Chrome open or run your own VPS.
Prerequisites first.
Before touching the alert in TradingView, make sure you have:
- A TradingView account (free or paid).
- A SignalForge account (Starter or Trader plan).
- The MetaTrader 5 terminal open on Windows.
- The SignalForge EA downloaded, installed, and attached to an MT5 chart.
- The symbol you want to trade available on your broker (EURUSD, US30, XAUUSD, etc.).
If you don’t have the EA yet, you’ll find it inside the SignalForge panel after creating your first account.
Get your webhook URL from SignalForge.
Log in to the SignalForge dashboard and create a trading account. Pick your broker, enter the account number, and select the symbols you plan to trade.
Once the account is saved, the dashboard shows two key values: the Webhook URL and the Token. Copy the URL. It is secret: it acts as the unique address where TradingView must send your alerts.
Configure the alert in TradingView.
Open the TradingView chart where you want to trade. Create an alert with your usual condition (moving average cross, RSI, breakout, etc.). In the alert box, open the Notifications tab and enable Webhook URL. Paste the URL you copied from SignalForge.
In the Message field, paste a JSON with the fields the EA needs. The most common are:
ticker: the symbol as named by your broker.action: buy or sell.risk: equity percentage to risk, or fixed lot size.slandtp: stop loss and take profit (optional).
Verify the signal reaches MT5.
Save the alert in TradingView and trigger it manually if you want to force a test. Otherwise, wait for your strategy condition to fire.
In the SignalForge dashboard, go to the Signals section and look for the new entry. If the row shows green, the alert arrived correctly. Then check MetaTrader 5: you should see the open position in the Trade tab.
Common troubleshooting.
If the alert fires but no order appears in MT5, check these points in order:
- EA online: make sure the SignalForge EA is attached and shows "Online".
- Correct token: if you rotated the key, update it inside the alert message.
- Mapped symbol: make sure the ticker in the JSON matches your broker’s symbol name.
- Auto-trading enabled: in MT5, go to Tools → Options → Expert Advisors and allow automated trading.
- Market open: if the market is closed, the broker will reject the order.
For high latency, use the VPS included in the Pro plan or pick a broker with servers close to SignalForge’s region.
Questions about webhooks.
Email [email protected] if you need help with your setup.
Configure your webhook today.
Try SignalForge free for 14 days. If it doesn’t fit your workflow, you won’t pay a cent.