draw and delete specific chart objects
-
How can I use the prefix name inside of draw line and name that starts with and/or name that contains inside the delete object block, so I can delete especif objects on the chart and not everything? thank you

-
this delete only lines with start name lineRed

-
Thank you for that it's working, but what about if I want to delete those lines 10 or 20 minutes after a trade was closed? I appreciate your help.
-
using custom counters .... here are many ways ... I recommend using 1M timeframe ...
search through my posts, I added here few times example how to create some counters ...
... this is basic principle for your question:
https://fxdreema.com/shared/ySaaK92Ac(note, on Trade section is also used)
-