forex software

Create and Test Forex Strategies

forex software

eas-guide:entry-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:entry-rules [2018/01/31 07:36] yavoreas-guide:entry-rules [2021/01/14 05:44] (current) Ilan Vardy
Line 1: Line 1:
 ====== Entry Rules ====== ====== Entry Rules ======
  
-For each Entry Rule in **EA Studio** you can choose an **indicator** to use, indicator logic and indicator **parameters**EA Studio will use these settings to draw the indicator line and evaluate if it should open a position and in what direction +EA Studio provides you with various indicators that you can use for your entry rules. You also have the option to adjust their parameters and logic rulesThis way you can get the best Forex Entry Point.
  
-Each of the Entry Rules is evaluated in each bar. The evaluation of each Entry Rule when backtesting results in the "answer" or "vote" of that entry rule if the strategy should open a position in a certain direction. For example the evaluation of an Entry Rule might result in a "vote" that is "short: false; long: true;". This means according to this rule the strategy should enter a long position. 
  
-An practical example of such entry rule is if you use a Momentum indicator with a logical rule "Momentum rises" that means that when the Momentum value becomes higher than the previous one the indicator will allow entering a long position.+{{youtube>0nS70yq2j3Q?medium }}
  
-However we wanted EA Studio to open a position only when **all** Entry Rules' requirements are met. So this means if we have two Entry Rules in the strategy and one "votes" for opening a long position and at the same time another "votes" to open a short one EA Studio will not act and will not open a position. +{{:eas-guide:forex-entry-point-1.png?nolink&500|}} 
 + 
 +As soon as a new bar opens on the chart, each of the entry rule is evaluated. The strategy needs to determine whether it should open a position in a certain direction. For example the evaluation of an Entry Rule might give a result that is "short: false; long: true;". This means according to this rule the strategy should enter a long position. 
 + 
 +{{:eas-guide:forex-entry-point-1-1.png?nolink&400|}} 
 + 
 +A practical example of such entry rule is if you use a Momentum indicator with a logical rule "Momentum rises" that means that when the Momentum value becomes higher than the previous one the indicator will allow the opening of a long position. 
 + 
 +However EA Studio only opens a position when **all** Entry Rules' requirements are met. So this means if we have two Entry Rules in the strategy and one signal, the opening a long position and at the same time another signals to open a short one EA Studio will not act and will not open a position. 
  
 You have to set only the rules for the long positions. EA Studio will set the rules to enter a short position automatically. It will do so by mirroring the long rules. You can see the short entry rules by clicking the **Short entry** tab above the Entry Rule list. You have to set only the rules for the long positions. EA Studio will set the rules to enter a short position automatically. It will do so by mirroring the long rules. You can see the short entry rules by clicking the **Short entry** tab above the Entry Rule list.
 +
  
 ===== Examples ===== ===== Examples =====
Line 17: Line 25:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:long-entry-no-rules.png?nolink |No entry rules}}+{{:eas-guide:long-entry-no-rules.png?nolink|}}
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:short-entry-no-rules.png?nolink |No entry rules}}+{{:eas-guide:short-entry-no-rules.png?nolink|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 27: Line 35:
 In this case EA Studio will not open a position because there are no rules to determine the direction of the entry. In this case EA Studio will not open a position because there are no rules to determine the direction of the entry.
  
-==== Using a Single Entry Rule ====+==== Add/Remove Entry Rules ====
  
-You can add Entry Rules by using the **+ Add a new entry rule** button. You can't have more than four Entry Rules. The button **+ Add a new entry rule** button will become inactive when this limit is reached. When you click the button, the program will open an Entry Rule Indicator panel at the left side of the Editor. You can choose an indicator there and set its Logic and parameters.+You can add Entry Rules by using the **+ Add a new entry rule** button. The maximum number of Entry Rules you can select is **4**. The button **+ Add a new entry rule** button will become inactive when this limit is reached. When you click the button, the program will open an Entry Rule Indicator panel at the left side of the Editor. You can choose an indicator there and set its Logic and parameters.
  
-All of the indicators express a logical condition that can either be fulfilled or not fulfilled. When creating a strategy, you should cover the Long trading case and the program will assume the reverse rules for the Short trades. In this sense the strategy uses symmetrical conditions for long and short positions. The general case is that the condition is fulfilled for a short position but not for a long one or vice versa. In some cases, the condition can be fulfilled in both directions of trade at the same time (when using ADX for example).+To remove an Entry Rule just click the **X** button on in the top-right corner of its box. 
 + 
 + 
 + 
 +==== Using a Single Entry Rule ==== 
 + 
 +All of the indicators express a logical condition that can either be fulfilled or not fulfilled. When creating a strategy, you should set the Long trading rules and the program will assume the reverse rules for the Short trades. In this sense the strategy uses symmetrical conditions for long and short positions. The general rule of thumb is that the condition is fulfilled for a short position but not for a long one or vice versa. In some cases, the condition can be fulfilled in both directions of trade at the same time (when using ADX for example).
  
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:long-entry-one-rule.png?nolink |One long entry rule}}+{{:eas-guide:long-entry-one-rule.png?nolink|}}
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:short-entry-one-rule.png?nolink |One short entry rule}}+{{:eas-guide:short-entry-one-rule.png?nolink|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 45: Line 59:
 The strategy will trade Long when "AC rises" and will trade Short when "AC falls". You can confirm that on the Indicator chart at the Report page. The strategy will trade Long when "AC rises" and will trade Short when "AC falls". You can confirm that on the Indicator chart at the Report page.
  
-==== Two or more entry rules ==== +==== Using multiple Entry Rules ====
  
 When a strategy has more than one indicator, it will trade only if all indicators give permission for entry in the particular direction. When a strategy has more than one indicator, it will trade only if all indicators give permission for entry in the particular direction.
Line 52: Line 65:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:long-entry-two-rules.png?nolink |Two long entry rules}}+{{:eas-guide:long-entry-two-rules.png?nolink|}}
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:short-entry-two-rules.png?nolink |Two short entry rules}}+{{:eas-guide:short-entry-two-rules.png?nolink|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 61: Line 74:
 In that example we have two indicators. Following the strategy logic, the program will: In that example we have two indicators. Following the strategy logic, the program will:
  
-  * trades Long - when: "AC rises" and "RSI changes its direction upward". If one of the rules is not satisfied, the strategy will not trade. +  * trade Long - when: "AC rises" and "RSI changes its direction upward". If one of the rules' requirements is not met, the strategy will not trade. 
-  * trades Short - when: "AC falls" and "RSI changes its direction downwards". If one of the rules is not satisfied, the strategy will not trade.+  * trade Short - when: "AC falls" and "RSI changes its direction downwards". If one of the rules' requirements is not met, the strategy will not trade.
  
  
 ===== Ambiguous rules ===== ===== Ambiguous rules =====
  
-There are cases when the strategy indicators produce equal signals in both directions. Let's see the following example:+There are cases when the Entry Rules' indicators might produce equal signals to trade in both directions at the same bar. 
  
 +Example: 
  
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:long-entry-ambiguous-rules.png?nolink |Ambiguous long entry rules}}+{{:eas-guide:long-entry-ambiguous-rules.png?nolink|}}
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
-{{ :eas-guide:short-entry-ambiguous-rules.png?nolink |Ambiguous short entry rules}}+{{:eas-guide:short-entry-ambiguous-rules.png?nolink|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
  
-That strategy will not trade because its rules give simultaneously permissions for both - Long and Short entries. If you set this example in the app and switch to the Short rules, you will see they will be equal to the Long rules. Since the conditions are ambiguous, the strategy acts in the safe way and prevents all entries.+The strategy above will not trade because its rules give permissions for both simultaneously  - Long and Short entries. If you recreate this strategy in EA Studio and switch to **Short rules**, you will see that they will be equal to the Long rules. Because the conditions are ambiguous, the strategy acts in the safe way and prevents all entries.
  
 ~~DISQUS~~ ~~DISQUS~~