Condition met then look for another Condition
-
How can I set a condition then after it has been met look for another condition?
First price has to be above 200ema and adx crosses above a value, after look for a bull candle close above previous candle close on 1min to take a Buy
-
Hi @ronniethetrader . Just use 3 condition blocks, each one set the rules which you described. Then followed by Once per bar and buy now/sell now block.
-
@ronniethetrader I guess you mean that those conditions are NOT supposed to happen at the same time, just one after the another, right?
-
@l-andorrà Yes, one after the other. The first two together and the last one is separate.
-
@ronniethetrader Then you can use a boolean variable after the two first conditions. Once they are true, you can use it as a new condition to be met for the third one. Obviously you will need to separate both block trees.