I was wondering if someone had an example of code that could be used to make an object disappear in case of price touching it.
Example:
Use case example: draw lines at resistance and support levels
IF line is touched by price THEN make line disappear, and send out an alert.
I know how to delete the object, but i am wondering if you have any advice on how you would approach storing the line price (array?) and comparing it with current price.
Apologies if it's a bit of a newbie question, just trying to find the most efficient code to do so.
Thanks in advance.
Gabriele
Comment