"Do not Buy/ Sell when"-----Technical indicator

Hi
Is it possible that after giving a set of technical indicators as deal start condition we are also able to set certain conditions (apart from above) so that bot is stopped from taking trade when those conditions (Do not Buy/Sell) conditions also exists. For instance in 15mins deals starts condition can be when RSI, CCI and MFI are below 30 while we dont want bot to trade when RSI in 4hour is already overbought & HAS A RECENT CROSS DOWN (just hypothetical figures) .

1 Like

You could at that as condition, couldn’t you?

RSI-7 4h < 70

Just rephrased my query

In that case you could use Keep true for the signal that not shall be true. Every condition can be negated.

not(RSI-7 4h >=70) <=> RSI-7 4h < 70

And

not(RSI-7 5m cross down 70)

You could combine both with keep true = 10 for example to make sure that those conditions were true during the previous e.g. 10 candles.

Can you help me understanding “keep true”. was playing with a strategy and the results seems unreal

If a condition was true on candle close, you can use Keep true for a certain number of next candles, where you want the condition to be true as well even if it isn’t.


Please see these strange results. Hope i used “Keep True” in the right manner.

It means that the condition will be true for the next 195 minutes (more than 3 hours)

So by KEEP TRUE we mean that the initial signal will continue to initiate buy signals (even exact condition are not met) in subsequent candles i.e. 13 candles in this case?

1 Like

1 Like