How to Match TradingView Symbols to Your Broker in MT5

Last updated · By the TradingView Link team
Short answer

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:

Symbol suffixes by broker and account (checked November 2026)
BrokerSuffixExample
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:

Index CFD names at each broker (checked November 2026)
BrokerNasdaq 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?

Test your symbol names on a demo account
Connect TradingView to MT4 or MT5 and send one alert with your broker's symbol name to check it trades. 5 free alerts a month, no credit card.

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

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