Waiting after a certain condition
-
is it possible to wait after certain condition is met?
let say my first condition is for an arrow to appear at previous candle, so once the arrow has appeared then ea waits for the first bull candle to form and then buy , th bull candle can form right after the arrow or it can form 3,4,5,,6,7,8,9,10 candles after the arrow -
Easy. Just create a Yes/No variable for the arrow condition. Once the arrow is visible your variable will be "Yes". Then use a condition block immediately above your "bull candle" condition block in which the condition is just "Yes".
That way you can have the arrow condition (Yes) but no bull candle, so no order will be executed. On the other hand, if the arrow condition is "NO", no matter how many bull candles will appear, there will not be an order. Only when both conditions are met, there will be an order.
-
Interesting
BTW thanks I was also looking for something like this -
@l-andorrà Thank you very much