Well, lines are chart objects and as you probably know, all objects can be found in one "pool" of objects where each one has unique name. So here are the ways to find certain object - https://fxdreema.com/examples#Chart-Objects You either have its exact name and you can get it directly, or you search for the right object. Then, when you select the object you can also get its value - Price, Time, whatever.
You have some "For each Object" blocks in your project, but I don't see their purpose there. They would select each object, even if it is some arrow or label somewhere on the chart. So what these blocks do for you is only to slow down the backtest of the EA 🙂