Price of hline by color or name or fix stop loss in ea.

 
How to retrieve the price of a horizontal line named according to the schema: prefix + number + "SL". But the number and price will change and I do not know what values. Example: The first line is called "#3 SL", the next "#9 SL", the third is "# 15 SL". How to take the price of each of these lines? I note that I have other lines with "#" in the graph, but there are not more than one of the "SL" at one time. I can also set individual color for these lines. So can i identify the price by line color? I'm trying to fix a stop loss in this ea https://www.mql5.com/en/code/10296 Sometimes trailig stop don't active. And stop loss don't works to! It only works when the price goes in the direction of the order. Sorry for my english. 
 

You can use the ticket number then you can always use

ObjectFind()
in a loop with known order tickets.
 
Marco vd Heijden:

You can use the ticket number then you can always use

in a loop with known order tickets.

How to known order tickets?