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:trading-rules [2018/02/20 11:13] – yavor | eas-guide:trading-rules [2021/01/12 06:51] – Ilan Vardy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Trading Rules ====== | ====== Trading Rules ====== | ||
- | {{ : | ||
EA Studio strategies consist of three parts: | EA Studio strategies consist of three parts: | ||
Line 8: | Line 7: | ||
- **Entry Rules** – indicators that determine the conditions for opening a position; | - **Entry Rules** – indicators that determine the conditions for opening a position; | ||
- **Exit Rules** – indicators that determine the conditions for closing the position. | - **Exit Rules** – indicators that determine the conditions for closing the position. | ||
+ | |||
+ | {{ youtube> | ||
+ | |||
Every part of the strategy is responsible for a specific task. | Every part of the strategy is responsible for a specific task. | ||
- | In order to make the strategies and exported Experts fast and reliable, we provide a predefined strategy structure. This is probably | + | {{: |
+ | |||
+ | In order to make the strategies and exported Experts fast and reliable, we provide a predefined strategy structure. This is the main difference between the experts created with **EA Studio** and the experts written manually in MQL. All EA Studio EAs follow a specific design | ||
This approach to strategies/ | This approach to strategies/ | ||
* it provides an unlimited number of combinations; | * it provides an unlimited number of combinations; | ||
- | * the backtest is extremely fast and automatic generation of experts is possible; | + | * the backtest is extremely fast and the automatic generation of experts is possible; |
* the backtest is extremely reliable; | * the backtest is extremely reliable; | ||
* live trading signals correspond to the backtest signals (provided that there is no slippage). | * live trading signals correspond to the backtest signals (provided that there is no slippage). | ||
Line 23: | Line 27: | ||
- All positions open at the beginning of a bar. (We use the term **Bar Open** to identify that. **Bar Open** is the first tick of a new bar.) | - All positions open at the beginning of a bar. (We use the term **Bar Open** to identify that. **Bar Open** is the first tick of a new bar.) | ||
- | - The strategies are symmetrical – the long trading rules are exactly opposite to the short entry rules. This principle guarantees that the strategies will work on both bullish and bearish markets. If they spot a pattern, they will act on it. | + | - The strategies are symmetrical – the long trading rules perfectly mirror |
- | - As a side effect of the above principle, | + | - This is why you set only long trading rules in the indicator slots. |
- The strategy(or exported Expert) will open a position when all the **Entry Rules** are satisfied. | - The strategy(or exported Expert) will open a position when all the **Entry Rules** are satisfied. | ||
- If there are no **Entry Rules** the strategy won't open a position. | - If there are no **Entry Rules** the strategy won't open a position. | ||
- | - If all available **Entry Rules** are satisfied in both directions this means there is no " | + | - If all available **Entry Rules** are satisfied in both directions this means there is no " |
- The strategy will close its positions at Bar Open. Exceptions are the Stop Loss and the Take Profit. | - The strategy will close its positions at Bar Open. Exceptions are the Stop Loss and the Take Profit. | ||
- If there are no Exit Rules, the program will close every open position at the beginning of the next bar. | - If there are no Exit Rules, the program will close every open position at the beginning of the next bar. | ||
- | - If there are Exit Rules, the strategy will close its positions | + | - If there are Exit Rules, the strategy will close its positions |
+ | |||
+ | {{: | ||
You can find more info and examples in the other sections of this help. | You can find more info and examples in the other sections of this help. | ||
~~DISQUS~~ | ~~DISQUS~~ |