In a strategy, you can create Rule Groups consisting of multiple rules. When connecting these rules with the "And" connector in a Rule Group, your strategy opens or closes positions only when all the conditions in the rules are met. For example, if you set rules A and B, both conditions must be fulfilled for the strategy to work.
On the other hand, when you connect the rules with the "Or" connector, the position opens or closes when at least one of the rules is met. For instance, if you set rules A and B, fulfilling only one of them is sufficient for the strategy to work.
Moreover, in the Enter Algorithm, all Rule Groups are linked with the "And" connector. Therefore, all the conditions in the Rule Groups must be met for the input algorithm to work. In the Exit Algorithm, you can use both "And" and "Or" connectors to connect Rule Groups. If the Rule Groups are linked with "And", all their conditions must be fulfilled for the strategy to exit. Conversely, if the Rule Groups are linked with "Or", at least one condition must be met for the strategy to exit.