SaveTicks – expert for MetaTrader 5

  • A+

This utility program is designed for recording tick quotes in the text (CSV) and binary (BIN) format. Files are saved to the MQL5\Files folder. Quotes are recorded with a constant sampling frequency to ensure a convenient analysis of ticks in mathematical programs.

Input Parameters

  • Recording interval - the interval of tick recording, milliseconds.
  • The symbols chosen as... - method of symbol selection for writing.
    • All symbols - writing all symbols provided by the broker.
    • MarketWatch symbols - writing all symbols from the Market Watch.
    • Load list of symbols from file - the list of symbols is loaded from a file.
  • Name of file with all symbol names - the name of the file with the list of symbols, e.g. "InputSymbolList.txt".
  • Format recording - CSV or Binary.
  • Time format - time setting. It can be either server time or computer time.

An example of algorithm with "Load list of symbols from file".

  1. Run the Expert Advisor with any parameters, unload the EA.
  2. The resulting file "\MQL5\Files\AllSymbols_SaveTicks.txt" will contain the names of all symbols provided by the broker.
  3. Rename it, for example to "InputSymbolList.txt".
  4. Edit "InputSymbolList.txt" leaving required symbols in it. The first line should show the number of symbols in the file. See the example in the download list at the top of this page.
  5. Run the EA again with necessary settings, and it will record ticks for symbols form the list.
  6. Check the "\MQL5\Files\*****" folder , it should have files with names like EURUSD_SaveTicks.csv.


:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: