Modify Rule Dialog
The Modify Rule Dialog allows you to enter the formula for a rule associated with generating a particular signal in an entry/exit system or for a rule associated with generating a message from an alert.
Entering a Rule Formula
To enter a rule, use the formula entry sub-pages. For help with these sub-pages, see the help for Formula Entry.
Entering Entry/Exit Rules
Entry/exit rules are evaluated in the following order:
1. Enter Long
2. Enter Short
3. Exit Long
4. Exit Short
Therefore, if the conditions associated with entering long are true, an enter long signal will be generated and none of the other conditions will be checked. Similarly, if the conditions associated with exiting long are true, they will only be evaluated if neither entry condition set is true and will stop the exit short rules from being evaluated.
Here are examples of typical entry/exit rules:
· Enter when one value crosses another
Functions in the "Series Crossing Functions" group can be used to detect when one value crosses above or below another value.
: Example: "Is Crossing Above" returns true on the bar when one value crosses above another value after equal to or less than it.
· Exit on trade profit, loss, or length
Functions in the "Entry/Exit System Functions and Rules" group can be used to check values related to the current trade and test if certain conditions are met.
: Example: "Rule: Exit On Percent Loss" returns true if the current trade results in a loss of a given percentage.
Ä Note: Functions in the "Entry/Exit System Functions and Rules" group do not use the trading style settings associated with analyzing a signal..
What Do I Do Next?
When you are finished making any changes, press the Close button.
Ä Note: Any changes made on this dialog will not be saved until the changes to the entire entry/exit system are accepted.
How Did I Get Here?
The Modify Rule Dialog is displayed when you add or modify a rule from the Create an Entry/Exit System Wizard: Enter Rules page, the Modify Entry/Exit System Dialog: Entry/Exit Rules page, the Create an Alert Definition Wizard: Enter Rules page, or the Modify Alert Dialog: Rules page.