RUN NEXT BLOCK
-
Hello friends
I want the robot to wait until the second block is activated in the next candles when the first block is activated
The problem is that the robot only works when both conditions occur in the same candle
For example, when the price reaches a certain line, wait until the stochastic is oversold in the next candles, then take a position.
Can anyone guide me? -
You need to use boolean variables (true/false). When the first condition is true, the variable is changed into true too. Then, separately, in a different block tree, the second condtion is to be met but with a new condition block on top requesting the variable to be true.
-
thankuuuuu
-
You're welcome.