Skip to main content
Home›Integrations›TradingView → MT4
TradingView → MT4 · setup guide

TradingView to MT4 — coming soon, without a VPS

MetaTrader 4 cannot receive webhooks, so TradingView alerts can't reach it directly. PipSync solves this by giving you a cloud webhook URL: TradingView POSTs the alert JSON there, and PipSync turns it into a signal for you to review — no VPS, no bridge EA, nothing installed in your terminal. MT4 account connections are coming soon.

Billed at checkout · Cancel any time · Free plan available

Risk warning: Trading CFDs and other leveraged products is complex and carries a high risk of losing money rapidly because of leverage. Industry data indicates that 70–80% of retail trading accounts lose money on these products. Risk disclosure · Past performance.

Not available yet: this destination cannot be connected in PipSync today. MetaTrader 5, cTrader, Match-Trader, Binance and Bybit are live; we will update this page when it opens.

The traditional workaround is a Windows VPS running MT4 plus a bridge EA that polls a third-party relay — three moving parts that all have to stay up. With PipSync the webhook terminates in the cloud and the signal is created there, so your alerts keep arriving even when your computer and your charts are closed. You stay in control: the alert carries its own entry, stop-loss and take-profit, and each resulting signal waits for your review on the Signals page.

TradingView → MT4 at a glance

Signal sourceTradingView webhook alerts — from Pine strategies or simple price/indicator alerts (webhooks require a paid TradingView plan)
Destination platformMetaTrader 4 — coming soon in PipSync
Webhook endpointA unique per-workspace URL (https://pipsync.io/api/tradingview/webhook/<secret-token>) — keep it secret (with auto-trade on, anyone who has it can trigger trades) and regenerate it if you suspect a leak
Alert payloadJSON with instrument, direction, entry, sl and tp1 — all required, sl/tp above 0; TradingView placeholders like {{ticker}}, {{close}} and {{strategy.order.action}} fill in at fire time
InfrastructureFully cloud-based — no Windows VPS, no bridge EA, no terminal that has to stay open
Auto-tradeOpt-in and off by default (Advanced plan) and only for accounts that are connected; MT4 account connections are coming soon, so here every alert is a signal you review
TestingSettings → Advanced → TradingView Alerts lists the last 20 alerts received with their status and any rejection reason
PriceWebhook integration needs a plan that includes it (the Advanced plan)

How do I connect TradingView to MT4?

Everything on the PipSync side happens in the dashboard; on the TradingView side you only create an alert. Nothing is installed in your MT4 terminal.

  1. Create a PipSync account (MT4 coming soon)

    Sign up at app.pipsync.io (the $0 Free plan needs no card but only parses signals), then subscribe to a plan that includes webhook integration — enough to build and test this route. MT4 account connections are coming soon; until then you can already set up the webhook and review alerts as signals.

  2. Get your PipSync webhook URL

    In the dashboard, go to Settings → Advanced → TradingView Alerts and click Generate webhook URL. PipSync generates a unique URL containing a secret token and shows it only once. Copy it and treat it like a password — anyone who has it can send signals into your workspace and, once auto-trade is on, trigger trades. Regenerate it on the same screen if you suspect a leak.

  3. Create the alert in TradingView

    Open the Alerts panel (the clock icon, or Alt+A) and set the condition: either order fills from a Pine strategy, or a simple condition such as a price level or indicator cross. Webhook notifications are a paid TradingView feature — the free TradingView plan cannot send them.

  4. Paste the JSON into the alert message

    In the Message field, use PipSync's template: {"instrument": "{{ticker}}", "direction": "{{strategy.order.action}}", "entry": {{close}}, "sl": 0.0000, "tp1": 0.0000}. Replace both 0.0000 values with real prices — an alert with 0 is rejected. For a simple alert, replace the direction placeholder with a hardcoded "buy" or "sell". Add no size field such as lots: an alert that names its own size is saved as a signal for your approval.

  5. Add the webhook URL and save

    Under Notifications, tick Webhook URL, paste your PipSync URL and click Create. From now on, every time the alert fires, TradingView POSTs the JSON to PipSync, which validates it and saves it as a signal on the Signals page.

  6. Test before going live

    Fire the alert once, then open Settings → Advanced → TradingView Alerts and check Recent alerts for its status and any error. Keep testing on a demo account until you have watched a few real alerts parse exactly as expected.

Typical setup time: about 12 minutes.

Why can't TradingView send alerts straight to MT4?

Because MT4 is a desktop terminal with no inbound web endpoint: TradingView delivers alerts by POSTing JSON to a URL, and there is simply nothing in MetaTrader 4 that can listen for that request. The platforms speak different languages — push HTTP on one side, a closed terminal on the other.

The classic workaround chains together a third-party relay service, a Windows VPS, and a bridge EA running inside MT4 that polls the relay for new alerts. It works, but you pay for the VPS, you maintain the EA, and the whole chain stops the moment the terminal crashes, Windows updates, or the relay subscription lapses.

PipSync removes the terminal from the receiving path entirely. The webhook terminates on PipSync's servers, the payload is validated there, and a valid alert becomes a signal. There is no relay to subscribe to, no EA to attach to a chart, and no machine of yours that has to stay on.

What JSON do I put in the TradingView alert message?

PipSync expects a small JSON object in the alert's Message field — five required fields. TradingView replaces double-brace placeholders with live values when the alert fires, so one message template can serve every trigger.

One MT4-specific caveat: many MT4 brokers add suffixes or use their own naming. There is no symbol-mapping setting for alerts, so if your broker's naming differs from {{ticker}}, message us in the support chat with the symbol and your broker.

Plain-text alerts are always saved as a signal for your approval, and only JSON alerts can ever be traded automatically.

  • instrument (required): the chart symbol, e.g. {{ticker}}
  • direction (required): buy or sell (long and short also work) — there is no close action
  • entry (required): entry price, above 0
  • sl (required): stop-loss price, above 0
  • tp1 (required): at least one take-profit price, above 0
  • comment: ignored
  • lots, qty, contracts, size, volume, units, amount or risk: never used for sizing; an alert carrying one is saved as a signal for your approval

Should I use a Pine strategy alert or a simple alert?

Use a strategy alert if your logic lives in a Pine strategy() script, and a simple alert for one-off conditions — both can POST to the same PipSync webhook. The difference is what the placeholders can resolve.

A strategy alert fires on the strategy's order fills, so {{strategy.order.action}} resolves to "buy" or "sell" depending on which order just filled, and the same message template handles both directions.

A simple alert — a price crossing a level, an indicator condition — has no strategy context, so {{strategy.order.action}} stays empty and the payload would be rejected. For simple alerts, hardcode the action ("buy" in one alert, "sell" in another) and create one alert per direction. Price and symbol placeholders like {{close}} and {{ticker}} work in both alert types.

Do I still need a VPS or a bridge EA for MT4?

No — that is the point of this route. The webhook is received, validated and turned into a signal on PipSync's servers. There is no EA to install, no chart that must stay open, and no Windows VPS to rent and patch.

MT4 account connections are coming soon in PipSync. Every received webhook is listed under Recent alerts in the dashboard, so you can audit exactly what TradingView sent and how PipSync read it.

How do I keep control of risk when alerts fire?

Each valid alert becomes a signal on the Signals page, where you review it, and by default PipSync places no order from it. Sizing follows your settings (fixed lots or percent-risk, min/max lots, max open positions); an alert that names its own size (for example lots, qty, contracts, size, volume, units, amount or risk) is saved as a signal for your approval.

For exits, put sl and tp prices in the alert payload: PipSync does not close positions from TradingView alerts, so exits happen by stop loss, take profit or by you. While you are still validating a strategy, review every signal by hand and test on a demo account, so you can watch the TradingView chain end to end with nothing at stake.

Can TradingView alerts auto-trade on MT4?

Not on MT4: MT4 account connections are coming soon, so on this route every alert is a signal you review. Elsewhere in PipSync, auto-trade from TradingView is opt-in and off by default; it needs the Advanced plan and is set up under Settings → Advanced → TradingView Alerts with an explicit consent.

Only JSON alerts from TradingView's published sender addresses that name no size of their own can ever be traded automatically; a plain-text alert, or an alert that names its own size, is always saved as a signal for your approval.

Parse for free, execute on a paid plan

Connect a signal source and watch PipSync parse in real time. Start on the Free plan at $0 with no card, or subscribe from $24/month for execution — charged at checkout, cancel any time.

Billed at checkout · Cancel any time · Free plan available

Risk warning: Trading CFDs and other leveraged products is complex and carries a high risk of losing money rapidly because of leverage. Industry data indicates that 70–80% of retail trading accounts lose money on these products. Risk disclosure · Past performance.

FAQ

Frequently asked questions

No. TradingView delivers alerts as webhook HTTP requests, and MetaTrader 4 has no way to receive them — it is a desktop terminal without an inbound web endpoint. You need an intermediary: PipSync provides a cloud webhook URL that receives the alert and turns it into a signal for you to review, with no VPS or bridge EA involved. MT4 account connections are coming soon.

Written by the PipSync team · Reviewed by PipSync Editorial, Editorial team · Published · Last updated

PipSync is a cloud-based signal automation platform that routes trading signals from Telegram, Discord, TradingView alerts and custom webhooks to broker accounts on MetaTrader 5, cTrader, Match-Trader, Binance Futures and Bybit — with server-side risk management and no VPS required. PipSync is an execution tool, not a signal provider and not investment advice.

PipSync is a signal execution tool. It does not provide trading signals, does not guarantee any trading results and is not investment advice. Trading leveraged products involves substantial risk of loss. See the full risk disclosure and performance disclaimer.