The Prosperse condition builder is based off of Boolean logic. This means that you can create complex conditions by combining multiple conditions together. This allows you to create any strategy you can imagine, without having to write any code.
At the top of left of the condition builder, you will see a dropdown which lets you select the type of operation you want to use. The default operation is "And", which will include "All" conditions. The other options are "Or" and "None".
You can also create nested groups of conditions by clicking the 'Add' button, and selecting 'Group'. This will create a new group of conditions that can be combined with the other conditions in the group.
An assertion is a statement of truth. For example, our strategy can assert that we want the last candle to be green. We would select 'Assertion', and select 'Green Candle'.
You can click the arrow to change the operation type. Prosperse currently offers the following assertion operators:
A condition is a comparison between two values. For example, our strategy can compare the current price to the 50 day moving average. We would select 'Condition', and set the last 'candles close' to be greater than the last 'SMA 50'.
You can set operators on each side of the middle boolean operator. Here is the list of boolean operations you can compare each side too:
You can click the arrow to change the operation type. Prosperse currently offers the following condition operators:
You can select the timespan for the condition to have more control.
You can change the field where it states 'Last' to select the specific candle for the condition