Multi Symbol & Clock — Indicator Specification
25 Nov 2026 · @Thanawat Thanawatkosol
Overview
Multi Symbol & Clock is a MetaTrader 5 chart-window indicator. It shows a compact info panel (symbol, candle countdown, price, spread) with 8 one-click symbol buttons that switch the chart. It finds each symbol in Market Watch automatically, including any broker prefix or suffix.
• Platform: MetaTrader 5 (MQL5), chart-window indicator, no buffers or plots
• Version: 8.01
• Type: display and navigation only. It never opens, modifies or closes orders.
• Works on: any symbol and any timeframe, any broker naming (EURUSD, EURUSD.m, EURUSDm, m.EURUSD, EURUSD.ez2 …)
Features
Info panel (4 rows)
Row
Shows
SYMBOL
Full broker name of the displayed symbol, including suffix
TIMEFRAME
Chart timeframe plus a live countdown to the current candle close (h:mm:ss)
PRICE
Mid price (Bid + Ask) / 2, using that symbol's own digits
SPREAD
Current spread in points
The panel refreshes every 500 ms.
8-symbol selector
• 8 buttons in a 4 × 2 grid. The default list is EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD and XAUUSD (alias GOLD). The list can be changed in the inputs.
• Clicking a button switches the chart to that symbol and keeps the current timeframe.
• With switching turned off, a click shows the symbol's data in the panel without changing the chart.
• Button colours: green = symbol now displayed, blue = available, grey = not found in Market Watch (disabled). A green border marks the chart's own symbol.
• Hovering a button shows the exact broker symbol name.
• The selection is kept when the timeframe changes.
Candle-close alert
• Fires once when a candle closes on the chart's symbol and timeframe, with the closing price.
• Popup, sound and push notification can each be turned on or off.
• No alert is fired when the indicator is first loaded.
Panel controls
• HIDE / SHOW collapses or restores the panel and symbol buttons.
• M moves the whole widget to the next chart corner (cycles TL → TR → BL → BR).
• The layout follows chart resizes automatically.
Symbol resolution (prefix / suffix)
Each button name is matched against the symbols in Market Watch only. No manual suffix setting is needed.
1. Same naming as the chart. The indicator reads the prefix and suffix from the chart symbol (for example .ez2 from EURUSD.ez2) and looks for prefix + NAME + suffix.
2. Exact name. If that fails, it looks for the plain name, for example GBPUSD.
3. Closest match. If that also fails, it takes the shortest Market Watch symbol that contains the name. Custom symbols are skipped.
• An entry can list alternative names with |. For example, XAUUSD|GOLD finds gold on brokers that call it GOLD.
• Matching ignores upper and lower case.
• Market Watch is rescanned every 5 seconds. A symbol you add or remove there updates its button without reloading the indicator.
Input parameters
Group
Parameter
Default
Description
Appearance
BgColor
18,22,30
Panel background
Appearance
BorderColor
60,130,200
Panel border
Appearance
LabelColor
140,160,180
Row label text
Appearance
ValueColor
White
Row value text
Appearance
AccentColor
60,200,140
Top strip, price, selected button
Appearance
FontSize
10
Value font size (labels use FontSize − 1)
Appearance
FontName
Segoe UI
Font for panel and buttons
Position
InitialCorner
3
0 = top-left, 1 = top-right, 2 = bottom-left, 3 = bottom-right
Position
X_Offset
14
Horizontal distance from the corner, px
Position
Y_Offset
14
Vertical distance from the corner, px
Symbols
MajorSymbols
EURUSD,GBPUSD,USDJPY,USDCHF,AUDUSD,USDCAD,NZDUSD,XAUUSD|GOLD
Up to 8 names, comma-separated; | adds alternative names
Symbols
SwitchChartOnClick
true
true = a click switches the chart; false = a click only changes the panel
Alert
EnableCandleCloseAlert
true
Alert on each candle close of the chart symbol
Alert
AlertPopup
true
Show the MetaTrader alert window
Alert
AlertSound
true
Play a sound
Alert
AlertSoundFile
alert2.wav
Sound file in the terminal's Sounds folder
Alert
AlertPush
false
Send a push notification (MetaQuotes ID must be set in the terminal)
Installation and usage
1. Copy Multi Symbol & Clock.ex5 (or the .mq5 source) into MQL5\Indicators of your terminal data folder (File → Open Data Folder).
2. In the Navigator, right-click Indicators → Refresh.
3. Drag Multi Symbol & Clock onto a chart. Make sure the symbols you want are visible in Market Watch.
4. Click a symbol button to switch the chart. Click HIDE to collapse the panel, M to move it to another corner.
Switching the chart symbol reloads every indicator and EA attached to that chart, as with any symbol change in MetaTrader 5.
Notes and limitations
• Only symbols already in Market Watch are used. The indicator does not add symbols there by itself.
• If a symbol's history is not loaded yet, its countdown is estimated from server time until the bars arrive.
• When the market is closed, the price shows the last quote and the countdown keeps cycling on server time, so it is not meaningful until trading resumes.
• If a broker lists several variants with the same name (for example EURUSD and EURUSD.raw), the variant matching the chart's suffix wins. If none matches, the shortest name wins.
• The candle-close alert always follows the chart's own symbol and timeframe, not the panel selection.
• Uses 21 chart objects, all prefixed MSC_, which are removed when the indicator is deleted.