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:entry-rules [2018/01/30 14:13] – yavor | eas-guide:entry-rules [2018/01/31 08:16] – yavor | ||
---|---|---|---|
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** uses technical indicators to determine | + | Each of the Entry Rules is evaluated in each bar. The evaluation of each Entry Rule when backtesting results in the " |
- | For example: if you use a Momentum indicator with a logical rule " | + | An practical |
- | In EA Studio all **Entry Rules** have to be met before a strategy can open a position. This means that if in the above example there is another | + | However we wanted |
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. | ||
Line 26: | Line 27: | ||
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. | ||
- | ==== One 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. 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. | ||
+ | |||
+ | 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 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). | 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). | ||
Line 44: | Line 51: | ||
The strategy will trade Long when "AC rises" and will trade Short when "AC falls" | The strategy will trade Long when "AC rises" and will trade Short when "AC falls" | ||
- | ==== 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 60: | Line 66: | ||
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 | + | * trade Long - when: "AC rises" and "RSI changes its direction upward" |
- | * trades | + | * trade Short - when: "AC falls" and "RSI changes its direction downwards" |
- | If one of the rules is not satisfied, the strategy will not trade. | ||
===== Ambiguous rules ===== | ===== Ambiguous rules ===== | ||
- | There are cases when the strategy | + | There are cases when the Entry Rules' |
+ | Example: | ||
<WRAP group> | <WRAP group> | ||
Line 79: | Line 85: | ||
</ | </ | ||
- | That strategy will not trade because its rules give simultaneously permissions for both - Long and Short entries. If you set this example | + | The strategy |
~~DISQUS~~ | ~~DISQUS~~ |