check next candle
-
hi i have a problem i want my robot open the position when all condition is true if its false ,check next candle if it 's true open the position.
https://fxdreema.com/shared/DUtoTyLsc -
I guess you mean reviewing the 'sell' loop, right? Just substitute that 'loop (pass n times)' block by the first 'indicator is visible' block of the sequence. Then just before the sell block use a condition block requesting for the variable to be 3. Only if that is true, the sell will be open.
-
@l-andorrà said in check next candle:
I guess you mean reviewing the 'sell' loop, right? Just substitute that 'loop (pass n times)' block by the first 'indicator is visible' block of the sequence. Then just before the sell block use a condition block requesting for the variable to be 3. Only if that is true, the sell will be open.
https://fxdreema.com/shared/1J7CYVEeb
can u explain more -I want to check the next candle if the sar condition is not established in the candle ID1 -
do you want to check if SAR has changed from top-bottom or bottom-top on candle 0?
-
@jstap Exactly. That is the question.
-
@hoda said in check next candle:
@l-andorrà said in check next candle:
I guess you mean reviewing the 'sell' loop, right? Just substitute that 'loop (pass n times)' block by the first 'indicator is visible' block of the sequence. Then just before the sell block use a condition block requesting for the variable to be 3. Only if that is true, the sell will be open.
https://fxdreema.com/shared/1J7CYVEeb
can u explain more -I want to check the next candle if the sar condition is not established in the candle ID1yes if sar is not in the top of candle ID1 so check another candle
-
Then try this:
-
thanks alot
-
You're welcome.