When defining the strategy of your Rule Bot, you can choose whether you are defining a General strategy, Actions, or Override Strategy for a single symbol.
General Strategy
To add a strategy, you need to click on the 'Add new' button to see the pop-up below:
For any strategy that you create, you can select between Predefined Signals, or Custom Strategy. Simply select from the drop-down and then decide whether you want your bot to Buy or Sell based on the Signal Type.
Each Signal usually has additional parameters from which you can choose. To access them, activate the 'Expert' mode.
Multiple Signals
Once you've added more than one signal, you can change the order of the signals simply by dragging and dropping them:
The order in the Strategy tab dictates in which order they will appear in the Backtester under the Symbols tab.
If you drag and drop Signals on top of each other, they will form groups. Once they're inside a group, you can decide whether a Buy or Sell order should be executed if any of the signals will lead to an action (ANY) or if you want them to be dependent on each other (AND). You can switch by clicking on ANY/AND.
Actions
Settings under Actions allow you to fine-tune your strategy even more. Imagine you have multiple Buy and Sell signals, but you are only confident about buying if the majority of Buy signals would fire – you can define that here. Simply change the number to the number you are comfortable with. The number needs to be minimum 1 and can only be as high as the number of signals you have defined in Buy or Sell, respectively.
Override Strategy for a single symbol
Lastly, if you want to apply signals specifically for individual trading pairs that should override your general strategy, you can do that here.
First, select the trading pair for which you want to define the override. This will create a new section:
Then, you can add new rules, just like for the General Strategy.
You can always find more information in our in-depth Trality Documentation.