How TradingView alerts reach MetaTrader 5 with Pine2Trade
A TradingView alert reaches MetaTrader 5 in three hops: TradingView sends the alert message to the Pine2Trade webhook, our servers pass the line at once to the Pine2Trade Expert Advisor (EA) that is connected with your license, and the EA places the order in your MetaTrader 5 terminal and reports the result back. Nothing is queued: if no EA is connected when the alert arrives, the signal is marked Not delivered and is not executed later.
The path of one alert
- TradingView fires the alert. In the alert you set the webhook URL
https://hook.pine2trade.com/and a message such asYOUR_LICENSE,buy,EURUSD,sl=30,tp=60. TradingView sends it from its own servers, so TradingView does not need to be open on your computer. - Our webhook checks and records it. It answers TradingView straight away, then checks the line. A line with fewer than three fields, or a pending order without
entry=, is Rejected; an expired license gets Error and nothing is sent. Every accepted alert gets its own signal id and a row in your signal history. An alert whose first field is not one of your license ids is discarded without a trace, because we cannot tell whose it is. - Our servers pass it to your EA. The Pine2Trade EA keeps a connection open from your MetaTrader 5 terminal to our servers. The line goes to the EA connected with that license, immediately.
- The EA places the order. It reads the command, works out the lot size from your settings (by default the risk you set, measured to the stop-loss) and sends the order to your broker through MetaTrader 5.
- The EA reports back. The answer (executed, with ticket and price, or the error MetaTrader or the broker gave) is stored on the signal and, if you linked it, sent to you on Telegram.
The states you see in the signal history
The Signals page of the dashboard lists every alert that reached one of your licenses, with one of these statuses:
| Status | What it means |
|---|---|
| Executed | Your EA reported that the command was carried out. For a pending order, the order was placed, not necessarily filled. |
| Delivered | The signal reached your EA and we are waiting for its answer. It changes within seconds. |
| No response | The signal was sent to your EA but it did not answer within 30 seconds. The order may or may not have been placed: check MetaTrader. |
| Not delivered | No EA was connected for this license when the alert arrived. Nothing was executed, and the signal is not kept for later. |
| Rejected | Our servers refused the alert before it reached your EA, for example because a field is missing. The reason is shown. |
| Error | Your EA tried and MetaTrader or the broker refused (not enough margin, market closed, wrong symbol name...), or our servers could not pass it on. |
What "Not delivered" means
It means your MetaTrader 5 terminal was not connected to us at that moment: the computer or VPS was off or asleep, MetaTrader 5 was closed, the EA had been removed from its chart, or the connection had dropped and the EA was reconnecting. Pine2Trade never re-sends a signal by itself. If you still want that trade, use Retry now on the row: it sends the same command again, which opens the position at the current price, not the price when the alert fired. The troubleshooting page has a checklist.
How fast it is, and what was measured
On 19 November 2026 we measured a median of 17.5 ms from an alert arriving at our webhook to the line reaching the EA. The measurement ran on the production servers with a test license and a simulated EA standing in for a MetaTrader 5 terminal. It covers our part of the path only. It does not include:
- the time TradingView takes to send the alert after the condition triggers;
- the network between TradingView, our servers and your terminal;
- the time MetaTrader 5 and your broker take to execute the order.
So the time from the alert to a filled order is longer, and it varies. The time each alert reached us is in your signal history, and the time of the order is in MetaTrader 5, so you can see the real figure for your own setup.
Limits to know
- MetaTrader 5 only. MetaTrader 4 is not supported.
- The terminal with the EA must be running when the alert fires (see Do I need a VPS?).
- Run the EA on one chart only for each license: every running copy executes every signal.
- Breakeven and trailing stops need the separate Pine2Trade Helper EA in the same terminal.
To set it up, follow Getting Started and the alert syntax.
FAQ
Is an alert executed later if my MetaTrader 5 was off?
No. It is recorded as Not delivered and is not executed, not even when the EA comes back. You can send it again yourself with Retry now in the signal history; it then trades at the current price.
How fast is it?
In a measurement on 19 November 2026, in production with a test license and a simulated EA in place of a real MetaTrader 5 terminal, the median time from an alert reaching our webhook to the line reaching the EA was 17.5 ms. That does not include the time TradingView takes to send the alert, your internet connection, MetaTrader 5 or your broker, so the time to a filled order is longer.
What does "No response" mean?
The signal was sent to your EA, but the EA did not answer within 30 seconds. The order may or may not have been placed: check MetaTrader before you send it again.
Does it work with MetaTrader 4?
No. Pine2Trade works with MetaTrader 5 only.
Try it on a demo account
Every new Pine2Trade account gets a 30-day trial license, no card needed. After that: 30 Days: 19.99 USD for 30 days; LIFETIME: 299.00 USD, one payment (pricing).