forex software

Create and Test Forex Strategies

forex software

eas-guide:exit-rules

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
eas-guide:exit-rules [2018/01/30 12:57] yavoreas-guide:exit-rules [2018/01/31 08:41] yavor
Line 1: Line 1:
 ====== Exit Rules ====== ====== Exit Rules ======
  
-The Exit Rules are responsible for closing positions. There are only three possible points for closing a position: at Stop Loss, ay Take Profitand at Bar Open. Since the Stop Loss and Take Profit are part of the Expert Propertieswe will describe here only the Bar Open case. +The Exit Rules are responsible for closing positions. There are only three possible points for closing a position: at Stop Loss, aт Take Profit and at Bar Open. Since the Stop Loss and Take Profit are part of the Expert Properties here we will describe only the Bar Open case.
- +
-Let's see several examples:+
  
 ===== No Exit Rule Indicators ===== ===== No Exit Rule Indicators =====
Line 16: Line 14:
 </WRAP> </WRAP>
  
-When you create a new expert, the program starts without Exit rule indicators and that is a perfectly valid exit condition. If there are no Exit rule indicators, EA Studio closes all positions at the next Bar Open. This is indicated in the info text area: Close at Bar Open. It means exactly that. If the EA opens a positionit will close it at the beginning of the next bar. This rule covers both long and short positions.+When you create a new strategy it will contain no Exit rules and that is a perfectly valid exit condition. If there are no Exit rules the strategy will close all positions at the next Bar Open. This is indicated in the text "Close a long position at Bar Open"This means that if the EA opens a position it will close it at the beginning of the next bar. This rule covers both long and short positions.
  
 ===== One Exit Rule Indicator ===== ===== One Exit Rule Indicator =====
  
-You can add Exit Rules indicators by using the "Add a new exit rule" button at the bottom. You can't have more than two Exit Rules indicators so the button becomes inactive when this limit is reached. When you click the button, the program opens an Exit 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 Exit Rules indicators by using the "Add a new exit rule" button at the bottom of the Exit Rules list. You can't have more than two Exit Rules so the button becomes inactive when this limit is reached. When you click the button, the program opens an Exit Rule Indicator panel at the left side of the Editor. There you can choose an indicator and set its Logical condition 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).+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 cases and the program will mirror the long rules for the short trades as well. In other words 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).
  
 <WRAP group> <WRAP group>