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:quick-start [2019/02/20 17:58] – [4. Choose a Strategy from the Collection] Miroslav Popov | eas-guide:quick-start [2021/01/14 05:20] (current) – [6. Export an Expert Advisor] Ilan Vardy | ||
---|---|---|---|
Line 3: | Line 3: | ||
Using Expert Advisor Studio you can easily create an Expert Advisor and discover a trading strategy by following a few easy steps: | Using Expert Advisor Studio you can easily create an Expert Advisor and discover a trading strategy by following a few easy steps: | ||
- | {{ youtube>X2MP_Kfw47I?medium }} | + | {{youtube> |
===== 1. Set Your Account ===== | ===== 1. Set Your Account ===== | ||
- | Set a virtual account in EA Studio the same way you set a demo account | + | Set up a virtual account in EA Studio the same way you set a demo account |
- | {{ : | + | {{: |
- | < | + | < |
- | Make sure the settings in EA Studio correspond to the account at your broker. This is to ensure you later get the same results in MetaTrader. | + | Ensure your settings in EA Studio correspond to your account at your broker. This is to ensure you later get the same results in MetaTrader. |
</ | </ | ||
Line 25: | Line 25: | ||
- In this Windows Explorer window find and open the **MQL** folder (MQL4 or MQL5). Then open **Scripts**. | - In this Windows Explorer window find and open the **MQL** folder (MQL4 or MQL5). Then open **Scripts**. | ||
- Paste the **Data Export Script** file in the **Scripts** folder. | - Paste the **Data Export Script** file in the **Scripts** folder. | ||
- | - Return to MetaTrader and go to the **Navigator** box. Then right-click | + | - Return to MetaTrader and go to the **Navigator** box. Then right-click |
- | {{ : | + | {{: |
==== Additional steps for MetaTrader 5 (after you have done all the previous steps) ==== | ==== Additional steps for MetaTrader 5 (after you have done all the previous steps) ==== | ||
Line 39: | Line 39: | ||
- | - Attach the script to the chart. | + | - Attach the script to the chart by either double-clicking it, or dragging it onto your chart. |
- | - It is done, you have saved the quotes. | + | - That's it, you have saved the quotes. |
- | - From the MetaTrader menu open **File > Open Data Folder**. | + | - From the MetaTrader menu select |
- From this folder navigate to **MQL4 (or MQL5) > Files** | - From this folder navigate to **MQL4 (or MQL5) > Files** | ||
- | - You should see a whole bunch of files. Those are the files the Export Script exported for you. | + | - You should see a number |
- Go to **EA Studio > Data** | - Go to **EA Studio > Data** | ||
- | - From the **Files** folder drag and drop the files to EA studio | + | - From the **Files** folder drag and drop the files to the **Drop Zone** in EA Studio |
- | {{ : | + | {{: |
===== 3. Generate Strategies ===== | ===== 3. Generate Strategies ===== | ||
* To manually create a strategy from the ground up choose the entry triggers in the [[eas-guide: | * To manually create a strategy from the ground up choose the entry triggers in the [[eas-guide: | ||
- | * To create a strategy | + | * To create a strategy |
===== 4. Choose a Strategy from the Collection ===== | ===== 4. Choose a Strategy from the Collection ===== | ||
- | Let the Generator work for a moment. The Generator will store the best strategies in the [[eas-guide: | + | Let the Generator work for the number of minutes selected. The Generator will store the best strategies in the [[eas-guide: |
- | {{ : | + | {{: |
- | In the Collection, you can see the top strategies with their equity curves and apply filters to select to select only the strategies | + | In the Collection, you can see the top strategies with their equity curves and apply filters to select to select only the strategies |
===== 5. Review the Strategy Trading Rules and Stats ===== | ===== 5. Review the Strategy Trading Rules and Stats ===== | ||
Line 68: | Line 68: | ||
Use the Editor to change settings, Entry Rules and indicators parameters. On the right side, there is a table that shows the most important stats. Below the stats is the **Balance chart** where you can see the Equity chart. | Use the Editor to change settings, Entry Rules and indicators parameters. On the right side, there is a table that shows the most important stats. Below the stats is the **Balance chart** where you can see the Equity chart. | ||
- | You can use this information for evaluating strategies | + | You can use this information for evaluating strategies |
When you are satisfied with your strategy you can export it as an Expert Advisor. | When you are satisfied with your strategy you can export it as an Expert Advisor. | ||
Line 76: | Line 76: | ||
- | {{ : | + | {{: |
To export and Expert find the **Export** button in the upper right corner. | To export and Expert find the **Export** button in the upper right corner. | ||
- | Click on the button and choose to export the proper | + | Click on the button and choose to export the full Expert Advisor for your MetaTrader version. |
===== 7. Test an Expert Advisor with MetaTrader ===== | ===== 7. Test an Expert Advisor with MetaTrader ===== | ||
Line 99: | Line 99: | ||
- Test the exported Expert Advisor with the correct Period, Symbol etc. | - Test the exported Expert Advisor with the correct Period, Symbol etc. | ||
- | **Make sure to compare both backtest results and see that they are very much the same.** | + | **Make sure to compare both backtest results and see that they are very similar.** |
{{: | {{: | ||
Line 105: | Line 105: | ||
Expert Advisor Studio is the most advanced online platform for trading strategy creation. It enables you to use a fully automated workflow for strategy generation, strategy optimization and strategy validation (see [[eas-guide: | Expert Advisor Studio is the most advanced online platform for trading strategy creation. It enables you to use a fully automated workflow for strategy generation, strategy optimization and strategy validation (see [[eas-guide: | ||
+ | ===== Trade Safe ===== | ||
+ | Join our super-friendly [[https:// | ||
+ | **Other useful links:** | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Risk Disclosure ===== | ||
+ | |||
+ | Futures and Forex trading contains substantial risk and is not suitable for every investor. An investor could potentially lose all or more than their initial investment. Risk capital is money that can be lost without jeopardizing one's financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. | ||
+ | |||
+ | Hypothetical performance results have many inherent limitations, | ||
+ | |||
+ | ~~DISQUS~~ |