forex software

Create and Test Forex Strategies

forex software

eas-guide:data-import

Data Import

EA Studio provides an easy way to load your own history data for backtesting. It is very important to create and test your strategies on data from the broker you will use later for trading. The different brokers have different data providers and time zones. It is possible to have a considerable discrepancy between the test in EA Studio and MetaTrader if you use different data.

Data export scripts

Two MQL script are provided in the Data Import page. One for MetaTrader 4 and one for MetaTrader 5.

How to install a data import script in MetaTrader

  1. Download the script you need
  2. Go to File > Open Data Folder
  3. From the list open the MQL4 folder
  4. Open the Scripts folder
  5. Put the downloaded file in the current (Scripts) folder
  6. Go back to MetaTrader
  7. Go to the Navigator box (if it is not open open it from View > Navigator)
  8. Right click in the Navigator box and use Refresh from the menu.
  9. The script will appear in the list.
  10. The below steps are only needed for MT5 since it does not compile new scripts automatically.
  11. In the Navigator box right-click on the script name and choose Modify
  12. A code editor will open. From the buttons in the top menu click Compile
  13. Close the editor window.

The end result should look like this:

Data export script

Exporting files

Drag and drop the script over a chart and it will export the files automatically. It is a good idea to load maximum bars in the chart by using the Home key. (It is easier if you stop first the chart auto-scroll and zoom out.)

Exported files

Import Files in EA Studio

The script saves the files in the MetaTrader’s MQL4/Files folder. All files have a “json” extension. Take all files and drag / drop them at the Drop zone of EA Studio.

The program will show the list of the loaded files.

You can return in the Editor page and to select your data server and symbols. If you are signed in, the application will store the file on the cloud.