Create and Test Forex Strategies
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eas-guide:data-import [2021/01/11 07:53] – ilan | eas-guide:data-import [2025/09/12 07:27] (current) – [Import Files to EA Studio] Miroslav Popov | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| EA Studio provides an easy way to upload 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. If you use different data it is very likely that the tests in EA Studio and MetaTrader will not match. | EA Studio provides an easy way to upload 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. If you use different data it is very likely that the tests in EA Studio and MetaTrader will not match. | ||
| + | |||
| + | {{youtube> | ||
| ===== Data export scripts ===== | ===== Data export scripts ===== | ||
| Line 8: | Line 10: | ||
| In the Data Import page we provide two Data Export Scripts (MQL). One for MetaTrader 4 and one for MetaTrader 5. | In the Data Import page we provide two Data Export Scripts (MQL). One for MetaTrader 4 and one for MetaTrader 5. | ||
| + | |||
| + | {{: | ||
| Here is how to install a data import script in MetaTrader: | Here is how to install a data import script in MetaTrader: | ||
| Line 28: | Line 32: | ||
| The end result should look like this: | The end result should look like this: | ||
| - | {{ : | + | {{: |
| ===== Export Files from MetaTrader ===== | ===== Export Files from MetaTrader ===== | ||
| Line 36: | Line 40: | ||
| - Use **Ctrl** + **-** to zoom out the chart so more bars can be loaded at once | - Use **Ctrl** + **-** to zoom out the chart so more bars can be loaded at once | ||
| - Press and hold down the **Home** key on your keyboard as long as new bars appear to the left (this and the previous one allow you to load all bars your broker would send to your MetaTrader) | - Press and hold down the **Home** key on your keyboard as long as new bars appear to the left (this and the previous one allow you to load all bars your broker would send to your MetaTrader) | ||
| - | - Drag and drop the Script to the chart. If everything works as it should, you will see messages on the chart similar to **Working script** (see below) | + | - Drag and drop the Script to the chart. When the Script Properties window opens, select the Input Tab (see below) and change any of the variables you wish to. If everything works as it should, you will see messages on the chart similar to **Working script** (see below) |
| **Disabling auto-scroll on new tick** | **Disabling auto-scroll on new tick** | ||
| Line 45: | Line 49: | ||
| {{: | {{: | ||
| + | |||
| + | **Input Tab** | ||
| + | |||
| + | {{: | ||
| ===== Import Files to EA Studio ===== | ===== Import Files to EA Studio ===== | ||
| Line 51: | Line 59: | ||
| - Go to **File > Open Data Folder** | - Go to **File > Open Data Folder** | ||
| - | - From the list open the **MQL4** folder | + | - From the list, open the **MQL4** folder |
| - Open the **Files** folder. You should see multiple JSON files in it. Select all files and drag and drop them to the Drop Zone in the Data window in EA Studio | - Open the **Files** folder. You should see multiple JSON files in it. Select all files and drag and drop them to the Drop Zone in the Data window in EA Studio | ||
| - | {{ : | + | {{: |
| The program will show the list of the loaded files. | The program will show the list of the loaded files. | ||
| - | You can return | + | You can return |
| - | ~~DISQUS~~ | ||