7 platforms

TradingView logoMetaTrader 5 logo

TradingView Alerts to MT5

Send a TradingView alert and have ConnectX Copy place the trade on your MT5 account — including moving the stop later, which most destinations cannot do.

This is not a copier. TradingView is a signal source: your alert arrives as a webhook carrying a secret, a symbol, a side and an order type, and ConnectX Copy places the corresponding trade on the MT5 account you nominate.

MT5 is the most capable destination for alerts. It accepts a stop loss and take profit sent with the entry, and it is one of only two platforms where a later alert can move that stop — everything else can only place stops at entry.

How TradingView → MT5 copying works

01

Create a TradingView source

The dashboard issues a webhook URL and a secret, and the setup tab provides the exact JSON message to paste into your alert.

02

The alert arrives

TradingView posts the alert. The secret is checked, the symbol is resolved to the broker’s name, and the action is read.

03

MT5 executes

An entry opens a position, an exit closes it, a reverse flattens and opens the other side, and a modify moves the stop or target on the open leg.

What ConnectX Copy can copy on this pair

Including what it cannot. The limits are as useful as the features when you are choosing which account should lead.

  • Entry alerts
  • Exit alertsAn exit can close the whole position or a percentage of it.
  • Reverse alertsAn entry arriving on the opposite side closes the open position and opens the new one.
  • Stop loss and take profit at entryPlaced exactly as the alert specifies. MT5 accepts stops with the entry.
  • Modify alertsA modify alert moves the stop or target on the open position. Only MT4 and MT5 support this.
  • Partial closeAn exit carrying a close percentage closes that share of the open position.

Risk and lot-sizing controls

Alert-driven trades use the same five sizing modes as copied trades: Fixed Lot, Lot Multiplier, Balance Multiplier, Fixed Balance Multiplier and Equity Multiplier.

Equity protection applies to the MT5 account regardless of whether the trade arrived from an alert or a copier.

Because the alert decides the entry, sizing is configured on the source rather than inferred from a master account’s balance.

Symbol mapping

TradingView symbols rarely match broker naming exactly — a TradingView ticker has to be resolved to whatever your MT5 broker calls the same instrument.

The same normalise-then-match logic used by the copier applies, and unresolved symbols can be mapped explicitly per source.

Getting this right matters more here than on a copier pair, because there is no master account to compare against if a symbol resolves to the wrong instrument.

Platform-specific behaviour

The alert message must be valid JSON. TradingView only treats a placeholder as valid when it is the entire string value, so a placeholder joined to other text makes TradingView send plain text instead, which the webhook cannot read. Copy the template from the setup tab rather than composing one by hand.

Because MT5 supports order modification, a strategy that manages its stop over the life of a trade can be expressed with a sequence of alerts rather than only an entry and an exit.

Important limitations

  • No stop loss or take profit is placed unless your alert carries one. Nothing is added by default.
  • An alert is an instruction to trade now; alerts are market actions rather than pending orders.
  • If the webhook rejects an alert — wrong secret, malformed message — no trade is placed, and TradingView does not retry.

Setting it up

  1. 01Connect the MT5 account with its login, password and broker server.
  2. 02Create a TradingView source in the dashboard and copy the webhook URL and secret.
  3. 03In TradingView, set the alert’s webhook URL and paste the JSON message from the setup tab.
  4. 04Choose the MT5 account as the target and set the sizing for the source.
  5. 05Include sl and tp in the alert if you want stops placed, then save the alert.

Common use cases

Pine strategy into a live account

Run a strategy on TradingView and have its alerts executed on MT5 without watching the chart.

Indicator alerts without manual entry

Turn an indicator’s buy and sell alerts into MT5 orders.

Alert into a copied fan-out

Execute the alert on an MT5 account that is already a copier master, so the result is distributed to your other accounts.

About each platform

Related integrations

Further reading

TradingView → MT5 questions

Will my MT5 trade have a stop loss?

Only if the alert carries one. No stop or target is added automatically, so include sl and tp in the alert if you need them.

Can an alert move a stop after entry?

Yes on MT5. A modify alert moves the stop or target on the open position — MT4 and MT5 are the only platforms where that is possible.

Can one alert close only part of a position?

Yes. An exit alert can carry a close percentage and closes that share of the open position.

Why was my alert rejected?

Most often the message was not valid JSON, or the secret was wrong. TradingView only accepts a placeholder as an entire string value, so a placeholder joined to other text makes it send plain text the webhook cannot read.

Can the alert feed several accounts?

Execute it on an MT5 account that is a copier master, and your existing copiers distribute the result.

Set up TradingView → MT5 copying

Connect both accounts and run your first copier on a 14-day free trial.

Start Free Trial

No credit card required · Cancel anytime