MetaTrader “Symbol Not Found”: Why It Happens and How to Fix It
Short answer“Symbol not found” means the exact symbol string your EA requested doesn't exist on this broker — brokers rename the same instrument (gold can be GOLD, XAUUSD or XAUUSDm). Look up your broker's real code and remap.
Why it happens
MetaTrader lets every broker name its own symbols. The same instrument carries different codes across brokers, and some are hidden from Market Watch until you enable them. An EA hard-coded to XAUUSD throws “symbol not found” on a broker that calls gold GOLD.
How to fix it
- Find your broker's real code with the Symbol Map Generator.
- In MetaTrader, right-click Market Watch → Show All to reveal hidden symbols, then confirm the exact spelling.
- In your EA, replace hard-coded strings with a symbol map so it resolves the right code per broker.
- Call
SymbolSelect(sym,true)before requesting quotes so the symbol is added to Market Watch.
Frequently asked questions
Why does SymbolSelect return false?
The symbol string doesn't match the broker's code, or the symbol isn't enabled. Use the exact code from the Symbol Map Generator and call SymbolSelect to add it.
What is gold's symbol in MetaTrader?
It varies: XAUUSD, GOLD, GOLD-T or a suffixed variant. Look up your broker in the Symbol Map Generator.
Why do brokers add suffixes like .ecn, m or .r?
Suffixes mark an account group (raw/ECN, micro, etc.). The instrument is the same; only the code differs.