Loading…

Symbol Specification Dumper

Every lot-sizing or stop-distance bug eventually comes down to the same question: what does this broker actually report for this symbol right now? Answering it one field at a time in the Experts log is slow and easy to get wrong. This tool answers it once, for every symbol at once, as a single CSV a spreadsheet or a text editor can search - digits, point, tick value, lot constraints, stop and freeze levels, margin figures and swap, all in one row per symbol. A symbol whose specification has not finished loading answers 0.0 to every lookup, and a naive dump would print that as if it were a genuine zero point size or zero tick value - exactly the kind of row that corrupts sizing logic built on top of it later. This dumper checks the point size first and lists such a symbol separately as skipped rather than writing a row of fake zeros. Unlike a one-off script that prints the current symbol and exits, this is an Expert that can sit on a chart and refresh the file on a schedule, so the reference CSV stays current across a session without the user re-running anything by hand. Notes and limitations - A symbol whose specification has not finished loading is counted as skipped and listed in the Experts log, never written as a row of fake zeros. - Each dump overwrites the whole output file; this is a snapshot reference, not a running log. Use SwapRateSnapshotLogger instead if a day-by-day swap history is what is actually needed. - Trading session times are not included - the terminal does not always publish them, and many brokers leave the tables empty even when the rest of the specification is complete. - Read-only. It never sends, modifies or closes an order - only symbol lookups and file writes are used.

Expert advisor · MT5 · v1.0 · Free

About Symbol Specification Dumper

Symbol Specification Dumper is a script for MetaTrader 5. It can alert you with a pop-up, sound, email or push message. It has 3 settings, such as Scan all symbols, Output file and Refresh minutes. MQL source code included.

Files in the download: SymbolSpecificationDumper.ex5, SymbolSpecificationDumper.mq5, SymbolSpecificationDumper.txt.

Settings

SettingDefaultWhat it does
Scan all symbolsfalseScan every symbol the terminal knows, not only Market Watch
Output fileSymbolSpecificationDumper.csvFile in MQL5\Files, rewritten in full on every dump
Refresh minutes0Minutes between automatic re-dumps; 0 = dump once at attach time only

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Scripts.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the script onto a chart to run it once.

Download the PDF guide

Tags: Alerts · MT5 Expert Advisor · MQL5 Source Code

Expert advisors (EA) for MT4 & MT5 · PolyMaria