Create and Test Forex Strategies
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
eas-guide:export-expert-advisor [2018/01/10 14:25] – yavor | eas-guide:export-expert-advisor [2018/03/22 14:42] – Miroslav Popov | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== How to export an Expert Advisor ===== | ===== How to export an Expert Advisor ===== | ||
- | When you have opened | + | When you open a strategy in the **Editor** you can export it as an Expert Advisor. To do so click on the **Export** button in the toolbar. |
{{ : | {{ : | ||
Line 13: | Line 13: | ||
- | The exported Expert Advisor is 100% native MQL code and doesn' | + | The exported Expert Advisor is 100% native MQL code and doesn' |
===== How to load an Expert Advisor in MetaTrader ===== | ===== How to load an Expert Advisor in MetaTrader ===== | ||
Line 21: | Line 21: | ||
- Go to **File > Open Data Folder** | - Go to **File > Open Data Folder** | ||
- | - From the folder list open the **MQL5** folder | + | - From the folder list open the **MQL4** folder |
- Open the **Experts** folder | - Open the **Experts** folder | ||
- Paste the Expert Advisor file | - Paste the Expert Advisor file | ||
Line 50: | Line 50: | ||
- Close the code editor. | - Close the code editor. | ||
- To attach the Expert Advisor to the chart drag-and-drop it from the **Navigator** box to the chart. | - To attach the Expert Advisor to the chart drag-and-drop it from the **Navigator** box to the chart. | ||
- | <WRAP center round important 60%> | + | |
- | Please note that you cannot trade multiple Experts simultaneously on the same symbol in MT5. | + | |
+ | <WRAP center round important 60%> | ||
+ | You cannot trade multiple Experts simultaneously on the same symbol in MT5. | ||
</ | </ | ||
<WRAP center round important 60%> | <WRAP center round important 60%> | ||
- | MT5 Hedging accounts can trade several experts per symbol. If you use this set different Magic Number for each Expert Advisor. | + | MT5 Hedging accounts can trade several experts per symbol. If you are using this feature |
</ | </ | ||
Line 62: | Line 64: | ||
==== Run Expert Advisor ==== | ==== Run Expert Advisor ==== | ||
- | When you drag and drop the Expert to the chart, a dialog window will appear. You you can review the Expert Advisor' | + | When you drag and drop the Expert to the chart a dialog window will appear. You you can review the Expert Advisor options in the **Inputs** tab. |
{{ : | {{ : | ||
- | You can test the experts | + | You can test the Experts |
{{ : | {{ : | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | You should receive the same result in MetaTrader test as in EA Studio. In case of discrepancies, | + | You should receive the same result in MetaTrader test as in EA Studio. In case of a discrepancy |
</ | </ | ||