Back to Blog
tradingview webhooktradingview to mt4automationsignal copiermt5

Automate TradingView Alerts to MT4/MT5 (Webhook Guide)

Turn any TradingView alert or strategy into a live MT4/MT5/cTrader trade using webhooks. Step-by-step setup, payload format, risk controls, and testing.

2026-05-21 7 min readBy TradeJournal Team

TradingView is where many traders build their setups โ€” but TradingView can't place trades on MetaTrader. A webhook bridges the gap: your alert fires, TradingView POSTs it to TradeJournal Pro, and we execute it on MT4, MT5, or cTrader in milliseconds.

How it works

  1. You create an alert (manual or from a Pine strategy) in TradingView.
  2. In the alert, you set a webhook URL that points to TradeJournal Pro.
  3. When the alert triggers, TradingView sends the message to us.
  4. We parse it and place the trade on your connected broker account.

Step 1 โ€” Get your webhook URL

Open the TradingView webhook wizard in the app. It generates a unique, secured URL for your account and shows you the exact message format to paste into the alert.

Step 2 โ€” Format the alert message

You can send plain text ("BUY XAUUSD SL 30 TP 60") and let the AI parse it, or send structured JSON for precise control:

{
  "action": "buy",
  "symbol": "XAUUSD",
  "sl_pips": 30,
  "tp_pips": 60,
  "risk_percent": 1
}

Step 3 โ€” Set risk and execution

  • Choose execution: your own MT4/MT5 (EA) or cloud (no PC/VPS).
  • Auto position sizing, circuit breakers, spread/news filters.
  • Symbol mapping so your broker's exact symbol is used.

Step 4 โ€” Test with dry-run

Fire a test alert and watch it parse in preview/dry-run mode before going live. Once it looks right, enable live execution.

Security

The webhook URL is unique and signed โ€” only your alerts can trigger your account. You can rotate it any time.

Common use cases

  • Execute a Pine Script strategy live, hands-free
  • Bridge a manual chart alert to MetaTrader
  • Combine TradingView entries with prop-firm risk guards

FAQ

Does it work with free TradingView? Webhooks require a paid TradingView plan (their limitation, not ours).

Can I send to multiple accounts? Yes โ€” multi-broker mirror sends one alert to several accounts.

Start free โ€” see the TradingView journal docs and the full feature list.

Not financial advice. Trading carries risk.

Get the free Signal Parsing Cheat Sheet

10 real signal formats decoded โ€” plus a 5-day Starter trial. No card.

One email now, then occasional tips. Unsubscribe anytime.

Start your free trading journal today

Track every trade, analyze your performance with real data, and build the habits that create consistent profitability.

Get Started Free

No credit card required