Preparing MOEX Data as Custom Symbols for MetaTrader Testing
Summary
The article explains how to convert exchange price files into a format that MetaTrader 5 can import as custom symbols, enabling strategy testing on Moscow Exchange instruments. It describes configurable parsing for date and time formats, field positions, delimiters, and file encodings, followed by conversion into bar data and custom-symbol creation. The workflow includes setting instrument specifications and checking the resulting chart and tester setup.
A central limitation is that exchange history may contain trade prices and volumes without historical bid, ask, or market depth. The tutorial therefore uses a fixed spread for bar testing and notes that tick testing needs a deliberate spread model and constructed tick data. It also warns that unusual numeric and date formats may require custom parsing. This is a data-preparation guide, not evidence that any tested strategy is profitable; results depend on the fidelity of imported data, instrument settings, and execution assumptions.
Key ideas
- Custom symbols let traders bring exchange data into MetaTrader 5 for strategy testing.
- Input files may require conversion of date formats, delimiters, column order, and numeric conventions.
- Historical exchange deal data may not contain bid-ask spread or market depth, so spread assumptions must be supplied.
- Tick-level backtests need more careful modeling than bar-based tests because spread and timestamp ordering matter.
- Correct contract specifications and volume fields are necessary for meaningful testing.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.