Back to Application

ATRIN DADE PISHRO Data Exporter

Step-by-step guide to exporting historical data from MT4/MT5

📋 Overview

The ATRIN DADE PISHRO Data Exporter is an Expert Advisor (EA) designed specifically to bridge the gap between MetaTrader and the ATRIN DADE PISHRO Strategy Generator. It ensures your historical data is formatted perfectly for high-accuracy backtesting and optimization.

✅ Precision

Generates CSV files with Time, Open, High, Low, Close, Volume, and Spread.

✅ Automation

Features automatic suffix removal (e.g., XAUUSDpro → XAUUSD) for cleaner data.

✅ Speed

Exports 10,000+ bars in seconds with minimal overhead.

🚀 Installation

For MetaTrader 4 (MT4)

  1. Download ATRIN DADE PISHRO_DataExporter_MT4.ex4.
  2. Open MT4, go to File > Open Data Folder.
  3. Navigate to MQL4/Experts and paste the file.
  4. Restart MT4 or right-click Expert Advisors in the Navigator panel and select Refresh.

For MetaTrader 5 (MT5)

  1. Download ATRIN DADE PISHRO_DataExporter_MT5.ex5.
  2. Open MT5, go to File > Open Data Folder.
  3. Navigate to MQL5/Experts and paste the file.
  4. Restart MT5 or right-click Expert Advisors in the Navigator panel and select Refresh.

Note: Make sure "Allow DLL imports" and "Allow automated trading" are enabled in the EA settings.

📖 How to Use

  1. Open a Chart: Open the symbol and timeframe you wish to analyze (e.g., EURUSD H1).
  2. Attach EA: Drag the Data Exporter EA from the Navigator onto the chart.
  3. Configure: Set your desired BarsToExport (default: 10,000).
  4. Export: Click the "Export Data to CSV" button on the chart.
  5. Final Result: A success message will appear showing you the exact file path of your exported data.

📁 File Location

Your files are saved in the Terminal's common folder:

MQL4/Files/ATRIN DADE PISHRO/ or MQL5/Files/ATRIN DADE PISHRO/

⚙️ Parameter Reference

Parameter Default Description
BarsToExport 10000 The number of historical bars to include in the CSV.
RemoveSuffix true Automatically strips broker prefixes/suffixes from the symbol name.
ExportFolder "ATRIN DADE PISHRO" The subfolder where files will be saved within the Files directory.
AutoExportOnStart false If true, exports data immediately upon attaching the EA.

🔍 Troubleshooting

Issue: Button doesn't appear

Check "Allow Automated Trading" in the MT4/5 toolbar and in the EA's common tab.

Issue: Empty file or few bars

Ensure you have downloaded enough history (Press F2 to open History Center and click Download).