How to action after delete object onchart ?
-
I created a rectangular box on the graph. Then store the upper and lower price values in variables.
The question is, how do I reset variable to 0 when I delete a rectangle?
I tried to use the object deleted function but it didn't work.
Thank youthis is my project link
https://fxdreema.com/shared/kfCU0Cj2b -
You didn't use any filter on block 39. Just select the object's name to identify it correctly.
-
@l-andorrà Can I use the Select Object by Name block and specify only part of the name? and how to use it

-
Yes you can that block will select the object, lighter orange blocks will use it, you can get the name from your object list.
-
@jstap For example, object name is "H1 Rectangle xxxxx".
Can I just enter "Rectangle" in the name field of Select Object by Name for the "H1 Rectangle xxxxx" search?

-
I don't know, I would enter the full name, there are blocks that look for partial names but I don't know if this does.