Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Historex: export the history of rates and ticks to CSV-files - script for MetaTrader 5

Views:
1547
Rating:
(5)
Published:
2024.02.21 15:15
Historex.mq5 (6.85 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

MetaTrader 5 allows you to export/import rates and ticks from/to the "Symbols" dialog. Due to some limitations, the export of ticks may not cover all required (available) history. This script allows you to export entire history or any part of it into the same CSV-format used by standard export/import facilities.

The script uses the current chart's symbol. Its history of rates and ticks in a given range of dates is saved into 2 CSV-files (in MQL5/Files folder). The file names include symbol name, timeframe (for rates), range of dates.

Input parameters

  • FilterStart - first datetime to start processing from;
  • FilterStop - last datetime to process (up to but not including);

By default both parameters are 0, which means entire available history.

    KA-Gold Bot MT5 KA-Gold Bot MT5

    KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15

    SAR ADX Signal SAR ADX Signal

    SAR ADX Signal with mobile notification, rewritten from MT4 version (source no longer found). This is a repaintable indicator, please be careful when using it.

    TimeGMT library for the strategy tester TimeGMT library for the strategy tester

    Static class to fix the TimeGMT() function during testing in the strategy tester.

    Developing a multi-currency Expert Advisor — source codes from a series of articles Developing a multi-currency Expert Advisor — source codes from a series of articles

    The source codes written during the development of the library for creating multi-currency Expert Advisors that combine many instances of various trading strategies.