How can I do this?
-
How can I fetch the name of the horizontal line that price crossed most recent (ID1).
The use caes scenario is that there are more than one line of similar name but different line-number- extension but I want to be able to tell the one that price crosses into a variable in order to know the name of the line.
How can I do this?
@ambrogio and anyone pls
-
You will need a loop searching for all horizontal lines on the chart at the moment and then check if price is above each one. Once it id confirmed it is above, you will need to delete that line in order to not to be checked anymore, of course.
-
@l-andorrà got it