Conditions and Actions
This screen allows you to set conditions and subsequent actions that control the flow of your strategy.
Conditions - Take the specified action when true
Actions - Execute an action (submit orders, draw objects on the chart etc...) based on its parent condition evaluating to true
Via the wizard, you can have up to ten different condition sets with related actions. If you require more than ten condition sets, then you should self code your strategy via the NinjaScript Editor. Conditions are created using the Condition Builder. Actions are specified by the Strategy Action window.
1. | Selects the condition set you wish to edit |
2. | Displays conditions associated with the currently selected condition set |
3. | Add or delete a condition |
4. | Edits the currently selected condition |
5. | Displays the actions associated with the currently selected condition set |
6. | Add or delete an action |
7. | Edits the currently selected action |
You can copy and paste conditions from one set to another and you can even save a condition set as a template and load for future use via the right mouse button click context menu as show in the image below. You can also save a condition set as a template (selecting the menu item) and then re-use it in another strategy at a later time by selecting the menu item.
|