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:strategy [2018/01/29 12:35] – yavor | eas-guide:strategy [2021/01/12 06:47] (current) – Ilan Vardy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Strategy ====== | ====== Strategy ====== | ||
- | A trading strategy consists of rules for opening positions (Entry Rules) and closing positions (Exit Rules). Each strategy you can be export | + | A trading strategy consists of rules for opening positions (Entry Rules) and closing positions (Exit Rules). Each strategy you generate or create |
- | EA Studio uses strict trading rules and a predefined structure of the strategies in order to provide fast and reliable backtest, which corresponds to the test and trade in MetaTrader. | + | EA Studio uses strict trading rules and a predefined structure of the strategies in order to provide |
- | ===== Purpose of an Expert Advisor ===== | + | {{youtube> |
- | | + | |
+ | ===== The Purpose of a Strategy ===== | ||
+ | |||
+ | |||
+ | | ||
* it can be tested against real historical data in EA Studio and in MetaTrader; | * it can be tested against real historical data in EA Studio and in MetaTrader; | ||
- | * it trades in the same way in MetaTrader as it was tested in EA Studio; | + | * it trades in the same way in MetaTrader as it does when tested in EA Studio; |
- | * it contains all the necessary indicators and does not require any additional files; | + | * it contains all of the the necessary indicators and does not require any additional files; |
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
===== Technical Indicators ===== | ===== Technical Indicators ===== | ||
- | To create trading strategies | + | EA Studio uses a set of technical indicators |
- | We support MQL (MetaQuotes Language) versions of the indicators for exporting Expert Advisors. The indicators in EA Studio work in the same way and rise the same signals as their equivalent MetaTrader indicators. We always expect to achieve | + | EA Studio uses the MQL code for the indicators and will support MQL (MetaQuotes Language) versions of the indicators for exporting Expert Advisors. The indicators in EA Studio work in the same way and use the same signals as their equivalent MetaTrader indicators. We always expect to achieve |
===== Backtesting a Strategy ===== | ===== Backtesting a Strategy ===== | ||
Line 26: | Line 34: | ||
==== How it works ==== | ==== How it works ==== | ||
- | EA Studio loads data files, calculates the strategy indicators, trades the strategy bar by bar, from the beginning to the end of the data, and calculates the trading results in the same way as if the strategy was traded by a trader. When the backtesting is finished we have the full statistical data from the virtual trading. | + | EA Studio loads data files, calculates the strategy indicators, trades the strategy bar by bar, from the beginning to the end of the data, and calculates the trading results in the same way as if the strategy was traded by a trader |
+ | |||
+ | {{: | ||
When you create a strategy manually with the Editor, you have full control over the indicators, the logical rules and the indicator parameters. On the other hand, when you use the Generator, the program sets all these rules and parameters for you. | When you create a strategy manually with the Editor, you have full control over the indicators, the logical rules and the indicator parameters. On the other hand, when you use the Generator, the program sets all these rules and parameters for you. | ||
- | Finally, when you export an Expert Advisor | + | {{: |
+ | |||
+ | {{: | ||
+ | |||
+ | Finally, when you export an Expert Advisor | ||
~~DISQUS~~ | ~~DISQUS~~ |