Many times traders would like to take buy/sell decisions only if some indicator event happens for m times in n successive candle periods. For this use case, we have an advanced parameter called 'Persistence'.
Persistence is available as an 'Advanced Parameter' in
- Price block
- Indicator block
- Compare Block
- Volume Block
Note: Persistence is not available when uses use the 'Cross up' and 'Cross down' operators.
Eg: Let's say a user has the below strategy:
- Buy when the price was below 5%, for 2 of the last 5 successive candles
- Sell when the price is above 5%
For this, the buy price block is set up as:
The corresponding strategy would be set up as follow: