Do I need a VPS to send TradingView alerts to MT5?

Updated

Not necessarily a VPS, but you do need a MetaTrader 5 terminal that is running, with the Pine2Trade EA attached and connected, at every moment an alert can fire. That can be your own Windows PC if it stays on and awake, or a Windows VPS. Pine2Trade does not host MetaTrader 5 for you, and an alert that arrives while your terminal is off is not executed later.

What must be running, and where

PartRuns whereMust be on when the alert fires?
Your TradingView alertTradingView's serversThe alert must be active; your browser or the TradingView app can be closed
Pine2Trade webhook and serversOur serversYes, and they are run by us
MetaTrader 5 with the Pine2Trade EAYour Windows PC or your Windows VPSYes: this is the part you are responsible for
Pine2Trade Helper (only for breakeven and trailing stops)The same MetaTrader 5 terminal, on its own chartYes, while those positions are open

The EA opens its own connection from your terminal to our servers and keeps it open. You do not need a fixed IP address or open ports, and you do not need to add our address to MetaTrader's WebRequest list. You do need to tick Allow DLL imports and Allow Algo Trading when you attach the EA (Getting Started).

Your own PC or a VPS?

Our instructions cover MetaTrader 5 on Windows: the EA uses the Windows network libraries to stay connected.

What happens when the terminal is off

When an alert arrives and no EA is connected for that license, the alert is recorded with the status Not delivered and nothing is executed, not then and not when the terminal comes back. The signal is not kept in a queue. If you linked Telegram, the bot tells you at once, even in the errors-only mode.

If the connection drops while the terminal is running, EA version 1.39 reconnects by itself (after 2, 5, 10 and 30 seconds, then every minute). Alerts that arrive while it is reconnecting are also Not delivered.

What our servers keep and show

Changing PC or VPS

A license is tied to one MetaTrader 5 account and one installation. To move to a new VPS, remove the EA from the old terminal, click Disconnect on the license in My Licenses, and attach the EA on the new terminal with the same license (Moving a license).

Some other bridges run an MT5 terminal for you in their cloud; see TradingView to MT5 bridges compared.

FAQ

Do I need to keep TradingView open?

No. TradingView sends the alert from its own servers, and our servers pass it on.

Can I use my own PC instead of a VPS?

Yes, if it is a Windows PC that stays on and awake, with MetaTrader 5 open and the EA attached, whenever your strategy can send an alert.

Does Pine2Trade host MetaTrader 5 for me?

No. The Pine2Trade EA runs in your own MetaTrader 5 terminal, on your PC or on a VPS you rent.

How do I move the EA to a new VPS?

Remove the EA from the old terminal, click Disconnect on the license in My Licenses, then attach the EA on the new terminal with the same license. See Moving a license.

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).

Start the free trial