The Broker Symbol Compatibility Scanner is a developer-focused MQL5 script designed to identify how a broker names and configures commonly used trading symbols.
Different brokers frequently add prefixes, suffixes or completely different aliases to instruments. For example, NAS100 may appear as USTEC, US100 or another broker-specific name. These differences can cause multi-symbol Expert Advisors, scanners, dashboards and trade-management tools to fail when moved between brokers.
The script scans the broker's complete server symbol catalogue rather than only the symbols currently visible in Market Watch.
It then attempts to resolve each requested instrument to the most appropriate broker symbol.

• Scans the complete broker symbol catalogue
• Resolves exact symbol names
• Detects common broker prefixes and suffixes
• Supports common aliases for Gold, Silver and major equity indices
• Can automatically select resolved symbols in Market Watch
• Checks whether the symbol is synchronised
• Displays current Bid and Ask prices
• Calculates the current spread in points
• Reports symbol trading mode
• Reports the current trading-session state where available
• Displays digits and point size
• Displays tick size and tick value
• Displays contract size
• Displays minimum and maximum volume
• Displays volume step
• Displays stops level and freeze level
• Clearly flags disabled or unresolved symbols
• Prints a detailed report to the Experts/Journal
• Displays an optional on-chart dashboard
• Exports the complete scan results to CSV
The scanner first searches for the requested symbol directly.
If an exact match is unavailable, it compares the requested instrument against the broker's available symbols and common aliases.
Examples include:
• XAUUSD / GOLD
• XAGUSD / SILVER
• US30 / DJ30 / WS30 / DOW30
• NAS100 / US100 / USTEC / NASDAQ100
• SP500 / US500 / SPX500
• DE40 / GER40 / DAX40
• UK100 / FTSE100
• JP225 / JPN225 / NIKKEI225
If several possible matches exist, the scanner can prioritise symbols already selected in Market Watch and symbols where trading is enabled.
The scanner does not rely only on symbols currently displayed in Market Watch. It reads the broker's complete server-side symbol catalogue and compares each available symbol against the requested instrument, recognised aliases and possible prefix or suffix variations.
The following simplified example shows the first stage of this process, where the complete broker symbol list is retrieved for analysis:
int serverTotal=SymbolsTotal(false); for(int i=0; i<serverTotal; i++) { string symbol=SymbolName(i,false); if(symbol=="") continue; // Compare the broker symbol with the requested // symbol, suffix/prefix patterns and known aliases. }
The optional dashboard provides a quick overview of each requested instrument, including:
• Requested symbol
• Resolved broker symbol
• Match type
• Market Watch selection status
• Synchronisation status
• Spread
• Trade mode
• Session status
• Minimum volume and volume step
• Tick value
• Contract size
• Compatibility status
Typical status values include:
• OK
• TRADE DISABLED
• NOT SYNCED
• SELECT FAILED
• NO MATCH
When CSV export is enabled, the full compatibility report is saved inside the MetaTrader 5 Files directory.
The report includes symbol resolution information together with the broker specifications collected during the scan.
This can be useful when developing or troubleshooting multi-symbol systems across different brokers.
InputSymbols
Comma-separated list of standard symbols to resolve.
PreferMarketWatchSymbols
Gives preference to matching symbols that are already selected in Market Watch.
PreferTradeableSymbols
Gives preference to symbols where trading is enabled.
SelectResolvedSymbols
Automatically selects successfully resolved symbols in Market Watch.
SynchronizationWaitMs
Maximum time allowed for newly selected symbols to synchronise.
IncludeCurrentSessionStatus
Enables current trading-session checks.
ExportCSV
Enables CSV report generation.
DrawDashboard
Shows the scan results directly on the chart.
MaxDashboardRows
Controls the maximum number of symbols shown on the dashboard.
DashboardX / DashboardY
Controls the dashboard position.
Broker symbol naming conventions are not standardised. The scanner uses exact matching, prefix/suffix detection and common aliases to identify the most appropriate symbol.
A CLOSED or NO SESSION DATA result does not automatically mean a symbol is incompatible. Session information is reported separately from the overall compatibility status.
The script does not place, modify or close trades.
Developed by MQLXpert
Code for Traders. By Traders.
Candlestick Pattern Scanner with honest statistics (engulfing, pin bar, stars, no repaint)
Seven candlestick patterns with exact rules, trend / swing / size filters against clutter, and a statistics table that compares every pattern with the base rate of the same chart. Closed candles only, no repaint, buffers for EAs.
ADR Levels: Average Daily Range, range used in percent, projected high and low (no repaint)
Average Daily Range from finished days, ADR high / low projected from today's low and high or from the open, range used in percent, a small panel and alerts at 80 / 100 percent. Day from broker or New York time. No repaint.
Accelerator Oscillator (AC)
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.
MACD Signals
Indicator edition for new platform.