Advanced Rules

Basic Usage

A group of conditions make up a Rule. We use the Rules Creator to create rules. There, we add conditions by right-clicking the first item in the tree.

 

Once you have added all the conditions to the tree, you may decide whether all the conditions should be met at the same time or just one of them would be enough.

 

The “at least one” rule type is of great help when your trading strategy relies on several alternatives to trade. For example, you may trade when some indicator 1 arrow shows up or when some other indicator 2 arrow shows up. It does not matter which one shows up. Then, you would create an “at least one” rule with two conditions (one per indicator) and in the Actions Creator you would associate the corresponding trading action that would be activated every time an arrow shows up in either indicator.

Subrules

But there is too much more you can do in the Rules Creator, you can create even more powerful trading strategies.

Now, suppose you rely your trading strategy on 4 different arrow indicators. Indicators 1 and 2 print green arrows and when show up in the same candle you want to buy. Indicators 3 and 4 print blue arrows and when show up in the same candle you want to buy.

Basically, you want to trade when indicators 1 and 2 give a trading signal at the same time or when indicators 3 and 4 give a trading signal at the same time. Instead, any other combination like indicators 1 and 3 or 1 and 4 do not imply a trading action. Note that, if we were using just the indicators 1 and 2, we would create an “all met” rule with two conditions (one per indicator). On the other hand, if we were using just the indicators 3 and 4, we would also create an “all met” rule with two conditions (one per indicator). Instead, both combinations are valid and we want to add them in the same rule.

We can create a single rule that will hold all this logic. First, we create an “at least one” rule and add two Subrules. In the first subrule, we add two conditions. Indicators 1 and 2 related conditions. In the second subrule, we add the indicators 3 and 4 conditions.

 

Finally, we associate a buy trading action with this rule.

 

That way we have added a more advanced logic to our trading.

This is just an example of what you can do with the Rules Creator but if you practice a little bit, you will find that you might also add subrules inside subrules and create complex trees with endless subrules and conditions.