how to select a line

 
I have an indicator that draws lines using a buffer and continues to draw lines until price blocks it then it stops drawing, but I would like to select the line when price touches the drawn lines so that I can delete it or keep based on why I need the line. what would be the best way to do that? object find, object get? i'm not sure which to use. 
 

Object find etc only works on objects not buffers.

If a line buffer stops drawing, it is probably because it contains the value EMPTY_VALUE

Reason: