Delete objects after x candles
-
Hi,
When a condition is filled, an object (horizontal line) is created on the graph. I would like to delete this object after 60 candles or 60 minutes for example. How can I do please?
Thanks
-
@bagheria Using candles is probably easiest, once per minute bar add 1 to a variable, reset this to 0 when your condition is filled, use a condition variable = 60 delete object.
-
Thank you so much for your answer. Do you think you can show me with the blocks please? Thank you again
-
@bagheria Something like this:
-
It is perfect!!! Thank you so much!