I have finished a code with horizontal lines at the high of bars if conditions are met. I use "same_name" + CurrentBar because we dont know how often it occurs, so I can not define "name1" "name2"....Everything works fine even historically. But I have 2 questions now please:
a.) how do I add the doubles (High) to a list to work with, eg for entries when the line is touched again
b.) how can I refer to the drawing objects to remove them when it is touched.
I can do without problems when I use defined doubles and tagnames but here my problem is how to refer to "same_name" + CurrentBar to remove this line. I couldn´t get it even when trying for days now.
Thank you!
Tony
Comment