Is it possible to add a third option to the current AND/OR conditions for indicators?
It would be beneficial if, in addition to AND/OR, we could also store indicator conditions for aggregation. For example, we could wait for one condition like SAR 1H crossing down, and then require another condition, like SAR 3sec crossing up, to be true before getting a combined signal.
What’s different about this AGGREGATE condition compared to what’s available now?
Currently, we use AND/OR to make conditions true either when all indicators are true simultaneously (AND) or when one of several indicators meets the condition (OR). We also have a “keep true candle” feature to maintain signals for a certain number of candles, and a “limit deals per higher timeframe bar” to prevent multiple deals. However, these don’t serve the same purpose as AGGREGATE.
With AGGREGATE, each indicator can act as a filter for any other indicator. The bot waits for all indicator conditions to be true before generating a combined signal.
Could you provide an example to illustrate how this feature works?
Let’s say we have three indicators for our entry condition:
- RSI crossing above 30
- MACD/SAR moving up
- Price change of at least +0.5%
Using the suggested feature, we would wait for each of these conditions to be true. They wouldn’t need to be true simultaneously, unlike the current logic.
This approach helps reduce noise and improves signal accuracy because indicators don’t have to match at the same time.
It also allows flexibility, such as using the same indicator on the same timeframe.
For instance, can could set the same indicator on a 15-minute chart using different and opposite settings, if we first get a strong sell signal and then a buy signal, the bot would wait for the buy signal to confirm a potential market reversal.
This method ensures precise signals by confirming conditions across different indicators.
I hope this explanation clarifies how this feature could enhance indicator conditions!