forex software

Create and Test Forex Strategies

forex software

eas-guide:trading-rules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eas-guide:trading-rules [2018/01/29 13:29] yavoreas-guide:trading-rules [2021/01/12 14:01] (current) Ilan Vardy
Line 1: Line 1:
 ====== Trading Rules ====== ====== Trading Rules ======
  
-{{ :eas-guide:expert-advisor-strategy-structure.png?nolink|Expert Advisors}} 
  
-EA Studio Expert Advisors consist of three parts:+EA Studio strategies consist of three parts:
  
-  - **Expert Properties** – the trading amount, Stop Loss, and Take Profit;+  - **Strategy Properties** – the trading amount, Stop Loss, and Take Profit;
   - **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.
  
-Every part of the Expert Advisor is responsible for a specific task. In order to make the EAs fast and reliable, we provide a predefined strategy structure. This is probably the major difference between the experts created with EA Studio and the experts written manually in MQL. Here all experts follow a specific design which guarantees that the backtest and the following MetaTrader historical test and trade will be equal. You may think at first that this is a limitation, but that concept has several advantages:+{{youtube>2pu2SQAbDGk?medium|}} 
 +\\ 
 +Every part of the strategy is responsible for a specific task.  
 + 
 +{{:eas-guide:trading-rules-2.png?nolink&600|}} 
 + 
 +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 that guarantees that the backtest and the subsequent MetaTrader historical test and trade will be equal.  
 + 
 +This approach to strategies/EAs has several very important advantages:
  
   * 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 18: Line 25:
 EA Studio follows strict trading rules: EA Studio follows strict trading rules:
  
-  - 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 experts are symmetrical – the long trading rules are exactly opposite to the short entry rules. This principle guarantees that the experts will work on both bullish and bearish markets. +  - The strategies are symmetrical – the long trading rules perfectly mirror the short entry rules, in the opposite direction. This principle guarantees that the strategies will work on both bullish and bearish markets. If a pattern is identified, they will act on it
-  - As a side effect of the above principle, you set only long trading rules in the indicator slots. +  - This is why you set only long trading rules in the indicator slots. 
-  - EA Studio opens position when all the conditions in the Entry Rule section are satisfied. +  - The strategy(or exported Expert) will open a position when all the **Entry Rules** are satisfied. 
-  - If there is no Entry Rules, or all available Entry Rules are satisfied in both directionsthe program does not open a position. +  - If there are no **Entry Rules** the strategy won't open a position. 
-  - The application closes positions at Bar Open. Exceptions are the Stop Loss and the Take Profit. +  - If all available **Entry Rules** are satisfied in both directions this means there is no "clear" signal to indicate in which direction to trade therefore the strategy will abstain from opening a position.   
-  - If there is no Exit Rules, the program closes every open position at the beginning of the next bar. +  - The strategy will close its positions at Bar Open. Exceptions are the Stop Loss and the Take Profit. 
-  - If there are Exit Rules, the program closes positions when there is at least one Exit Rule SatisfiedThe Exit Rules are also symmetrical for long and for short positions.+  - 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 when only one Exit Rule is satisfiedSimilar to **Entry Rules** the **Exit Rules** are symmetrical for long and for short positions. 
 + 
 +{{:eas-guide:expert-advisor-strategy-structure.png?nolink|Expert Advisors}}
  
 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~~