The closing action inside the automation editor gives a bot the ability to close positions automatically and allows you to have complete control of how and when a position is closed.
Select the “+” symbol in the automation editor to add an action from the list.
NOTE: There is more than one way to use the closing action. It may be more useful to utilize the repeater function to exit a position. Repeaters can monitor all positions currently open in a bot. Simply create a repeater action for the desired positions, and end the decision recipe with a “Close Position” action.
When the “Close Position” action is selected, it can dynamically reference each position that the bot has open. This allows you to add positions to the portfolio continuously, and one automation can pull in data for each individual position the bot has open. All you need to do is link the position in the menu. The bots are smart enough to reference the position data for each position that is open and close the position.
If you do not want to immediately close all your positions with an automation, you can use the “Close Position” function to exit a position based on one or more decision criteria. Select the gear icon to precede the “Close Position” function with a Decision action.
NOTE: Be sure to add the Decision action after the Repeater action, because it will pull in each position’s specific data. The criteria will be nested between the Repeater and Closing actions.
Close Position actions are typically located at the end of the decision tree and can be as simple or complex as you prefer.