STEP-BY-STEP GUIDE · UPDATED JUNE 2026

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.

STEP 01

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.

STEP 02

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.

STEP 03

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.

STEP 04

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.
  • sl and tp: stop loss and take profit (optional).
STEP 05

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.

STEP 06

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.

A webhook is a unique URL where TradingView sends your alert whenever a strategy condition is met. SignalForge receives that alert, validates it, and translates it into a buy or sell order inside MetaTrader 5.
No. TradingView free plans support webhooks with some limits; paid plans add more simultaneous alerts. To start automating with SignalForge, the free plan is enough.
Yes, as long as the broker offers MetaTrader 5 and allows Expert Advisors. SignalForge does not access your capital or your broker; it connects directly to the MT5 terminal you control.
No. The webhook URL is secret and tied to your account. If someone obtains it, they could send signals to your MT5. SignalForge also validates the associated token, but you should treat the URL like a password and rotate it if you think it has been exposed.
Under normal conditions, less than one second from the moment TradingView fires the alert until the SignalForge EA receives the order. Total execution time depends on the latency between SignalForge and your broker server.
B
Benjamin SF
FOUNDER · SIGNALFORGE · ALICANTE

I built SignalForge to automate my own TradingView strategies without relying on Chrome or a computer running 24/7. If you have questions about configuring your webhook, email me.

Configure your webhook today.

Try SignalForge free for 14 days. If it doesn’t fit your workflow, you won’t pay a cent.

NO CARD · 14-DAY TRIAL · CANCEL ANYTIME
Set up your TradingView webhook → 14-day free trial Start →