How to Match TradingView Symbols to Your Broker in MT5
The EA trades the symbol exactly as your alert names it, so the alert has to use your broker's name,
suffix included: EURUSDm on an Exness Standard account, USTEC for the Nasdaq 100
at IC Markets. Copy the name from MT5's Market Watch. To reuse one alert, add the suffix after
{{ticker}}, or map names in Pine Script.
Why does the symbol have to match your broker's name?
The EA doesn't translate symbols. It takes the name on the order line as it is, without adding a suffix or
changing capital letters, and asks MetaTrader for that symbol. If your account has no symbol by that name,
the EA logs "Symbol not found" and nothing trades, as
the troubleshooting guide shows. The log line ends
with the name the EA looked up, such as Symbol not foundNAS100, so it shows exactly what your
alert sent.
TradingView and your broker often disagree on names. A TradingView chart of the Nasdaq 100 is
NDX, while brokers call their CFD NAS100, USTEC, US100 or
Nas100. Forex pairs and gold usually keep their names, but many accounts add a suffix to every
symbol. So the order line has to carry the broker's name:
YourWebhookPassword
long USTEC q=0.1 To find the exact name, look at MT5's Market Watch. If the symbol isn't listed, MetaQuotes' Market Watch help says to "click + below the list and enter the name of the symbol", and suitable names appear as you type. Copy the name with its capitals, dots and suffix. The full message format is in the webhook guide.
Which suffixes do brokers add?
The suffix depends on the account type, and at Pepperstone on the company that holds your account, so two accounts at the same broker can need different alerts. These are the rules from the brokers' own pages, which each of our broker guides links to:
| Broker | Suffix | Example |
|---|---|---|
| Exness | m on Standard, c on Standard Cent, none on Pro, none or r on Raw Spread, none or z on Zero | EURUSDm |
| Pepperstone | .a for retail clients under ASIC, .r for retail clients under the FCA, BaFin or CySEC, .p for professional clients there | EURUSD.r |
| Axi | None on Standard, .pro or .pp on Premium forex and bullion, .c on Cent, .min on Mini contracts | USDJPY.pro |
| JustMarkets | .c on Standard Cent, .m on Standard (.std on its indices), .s on Pro, .ecn on Raw Spread | US500.std |
| XM | # on the forex pairs of XM's EU site | EURUSD# |
| IC Markets, Fusion Markets, RoboForex | None on forex and gold | EURUSD |
Gold follows the same rule. It's XAUUSD at most of these brokers, with the account's suffix
where there is one, such as XAUUSDm at Exness or XAUUSD.c on an Axi Cent account.
XM is the exception and calls it GOLD. If you trade on a prop firm's MT5 account, check its
Market Watch too, because the firm's server sets the names.
What are the index names at each broker?
Indices are where names differ most. TradingView charts the Nasdaq 100 as NDX and the S&P
500 as SPX, and no two of these brokers agree on both:
| Broker | Nasdaq 100 (NDX) | S&P 500 (SPX) |
|---|---|---|
| Axi | USTECH | US500 |
| Fusion Markets | NAS100 | US500 |
| IC Markets | USTEC | US500 |
| JustMarkets | US100 | US500 |
| RoboForex | .USTECHCash | .US500Cash |
| Vantage | Nas100 | SP500 |
The Dow Jones 30, DJI on TradingView, is US30 at Axi, Fusion Markets, IC Markets
and JustMarkets, .US30Cash at RoboForex, DJ30 at Vantage and US30m on
an Exness Standard account. JustMarkets also adds its account suffix to index names, such as
US500.std. Oil differs too: TradingView's USOIL is WTI at RoboForex.
Can one alert work for every symbol?
Yes, when TradingView's name matches your broker's. The {{ticker}} placeholder is the "ticker of
the symbol used in alert", according to TradingView's
placeholder list, so this message
sends EURUSD from an EURUSD chart and XAUUSD from an XAUUSD chart:
YourWebhookPassword
long {{ticker}} q=0.1 The placeholder leaves out the exchange. TradingView's own example builds NASDAQ:AAPL from
{{exchange}}:{{ticker}}, so a chart of OANDA:EURUSD and one of FX:EURUSD both
send EURUSD.
If your broker adds a suffix, write it straight after the placeholder. On an Exness Standard account this
sends EURUSDm from an EURUSD chart:
YourWebhookPassword
long {{ticker}}m q=0.1 It stops working where the names differ, such as an NDX chart traded as USTEC, or a
futures chart, where the ticker is a name like ES1! rather than your broker's CFD name. For
those, map the names in Pine Script.
How do you map symbols in Pine Script?
Placeholders don't help inside a strategy's alert_message: TradingView's
alert docs say "they cannot be used in the
argument of alert_message". Pine Script has its own version instead. Its
chart information page describes
syminfo.ticker as a variable that "Stores a string representing the dataset's symbol without the
exchange prefix". That's the one to map, not syminfo.tickerid, whose ticker ID "contains the
dataset's symbol with the exchange prefix", such as NASDAQ:AAPL. A switch turns
syminfo.ticker into your broker's name:
//@version=6
strategy("Symbol mapping", overlay = true)
suffix = input.string("", "Broker suffix, such as m or .r")
brokerSymbol = switch syminfo.ticker
"NDX" => "USTEC"
"SPX" => "US500"
"DJI" => "US30"
=> syminfo.ticker + suffix
if ta.crossover(ta.sma(close, 20), ta.sma(close, 50))
strategy.entry("Long", strategy.long, alert_message = "long " + brokerSymbol + " q=0.1") The names in the switch are IC Markets'. Put in your broker's, from the tables above, and its
suffix in the input. Any symbol not listed falls through to the last line and keeps TradingView's name plus
the suffix. TradingView documents the two forms of switch on its
conditional structures page. Then put
{{strategy.order.alert_message}} under your password in the alert's message box:
YourWebhookPassword
{{strategy.order.alert_message}} One script then trades every symbol it runs on, each under its broker name. How to automate a TradingView strategy covers the rest of the strategy alert setup.
How do you check a symbol before going live?
- Copy the name from Market Watch on the account the EA runs on, not from your broker's website.
- If the name isn't there, right-click Market Watch and open Symbols. MetaQuotes' help says "All symbols available in the platform are displayed here", and a double click on a name shows or hides it in Market Watch.
- Keep the symbol shown in Market Watch. The EA reads the symbol's bid and ask before every order and logs "Symbol not found" if either is 0.
- Send one alert with a small size to a demo account of the same account type, and look for the trade, or for "Symbol not found" in the Experts tab.
- Check again after you switch account type or broker, since the suffix can change with it, as the Exness, Pepperstone and JustMarkets rows above show.
- Keep one alert per account where names differ, and label each alert with the account it serves.
Frequently asked questions
Does the EA add my broker's suffix for me?
No. It trades the symbol exactly as the alert names it, so the suffix has to be in the alert, such as EURUSDm on an Exness Standard account or EURUSD.r at Pepperstone UK.
Does it matter if I type eurusd instead of EURUSD?
Copy the name exactly as Market Watch shows it, capitals included. The EA doesn't change the case of the symbol you send.
What is the gold symbol in MT5?
Usually XAUUSD, plus your account's suffix if it has one, such as XAUUSDm on an Exness Standard account. XM calls it GOLD.
What is NAS100 called at my broker?
It varies. Fusion Markets calls it NAS100, IC Markets USTEC, Axi USTECH, JustMarkets US100, Vantage Nas100 and RoboForex .USTECHCash.
Can I use the ticker placeholder in a strategy's alert_message?
No. TradingView's Pine Script docs say placeholders can't be used in the alert_message argument. Use syminfo.ticker in the script instead, which holds the chart's symbol without the exchange prefix.
Do I need a different alert for each broker?
Only where the names differ. Forex pairs without a suffix often match, but index CFDs, gold at XM and accounts with a suffix need their broker's own names, or a mapping in Pine Script.
Why does the EA log "Symbol not found" when the name looks right?
Usually the suffix or capitals differ from your account's name, often after a change of account type. Compare the name at the end of the log line with Market Watch. If they match, show the symbol in Market Watch, since the EA needs its bid and ask.
Does symbol mapping work the same way on MT4?
Yes. Both EAs look the symbol up exactly as the alert names it, so the same names and suffixes apply, as long as your broker's MT4 server lists the symbol.
Sources
- TradingView: how to use a variable value in alert (the ticker placeholder)
- Pine Script docs: alerts (placeholders and alert_message)
- Pine Script docs: chart information (syminfo.ticker)
- Pine Script docs: conditional structures (switch)
- MetaTrader 5 help: Market Watch (adding symbols)
All checked November 2026. Each broker's names come from its own pages, linked from our broker guides. How the EA reads the symbol comes from our own MT4 and MT5 EA code.
Related guides
- How to connect TradingView to MT5
- How to connect TradingView to MT4
- PineConnector alternative with MT4 support
- Best TradingView to MT5 bridges, compared
- Free TradingView to MT5 bridge: what you get for $0
- Free and cheapest TradingView to MT4 bridges
- TradingView trade copier for MT4 and MT5: three types compared
- How to automate a TradingView strategy on MT4 and MT5
- TradingView to MT5 not working? How to fix it
- Prop-firm EA rules: FTMO, FundedNext and The5ers
- TradingView webhook to MT5 and MT4: URL, message format and examples
- TradingConnector alternative for MT4 and MT5
- WebhookTrade alternative for MT4 and MT5
- How to convert Pine Script to MQL5, and when not to
- Does TradingView's free plan have webhooks? Plans compared
- Do you need a VPS for TradingView to MT5?
- How to automate a TradingView strategy on FTMO
- FundedNext TradingView automation: EA rules and setup
- E8 Markets TradingView automation: EA rules and MT5 setup
- FXIFY TradingView automation: EA rules and MT5 setup
- How to run multiple strategies on one MT5 account with magic numbers
- TradingView alert stop loss and take profit on MT4 and MT5
- How to close MT4 and MT5 trades from a TradingView alert
- TradingView alert lot size and risk per trade on MT4 and MT5
- TradingView indicator alerts to MT5: buy, sell and exit alerts
- TradeSgnl alternative: pricing, MT4 support and TradeSgnl vs PineConnector
- How to send TradingView alerts to Telegram and MT5
- MetaConnector alternative: pricing, MT4 support and MetaConnector vs PineConnector
- SignalForge alternative: pricing, hosting and SignalForge vs PineConnector
- TradingView.to alternative: TradingView To Anywhere vs TradingView Link
- TradersPost alternative for MT4 and MT5: TradersPost vs TradingView Link
- AlgoWay alternative for MT4 and MT5: AlgoWay vs TradingView Link
- How to connect TradingView to Exness (MT4 and MT5)
- How to automate TradingView alerts on Pepperstone (MT4 and MT5)
- How to automate TradingView alerts on IC Markets (MT4 and MT5)
- How to automate TradingView alerts on XM (MT4 and MT5)
- How to automate TradingView alerts on Vantage (MT4 and MT5)
- How to automate TradingView alerts on Fusion Markets (MT4 and MT5)
- How to automate TradingView alerts on RoboForex (MT4 and MT5)
- How to automate TradingView alerts on JustMarkets (MT4 and MT5)
- How to automate TradingView alerts on Axi (MT4 and MT5)
- Pricing: plans, limits and what else you pay for
- Full documentation: alert syntax, EA settings and troubleshooting
- FAQ: trials, billing and signal limits