To find the candle ID, try
For each object (select vertical line) --> Modify variable (select Object on Chart, enter Name of Object)
To find the min / max,
Modify variable (select Market Property, Lowest/Highest Price (CandlePeriod))
When you get the price level, you can draw the horizontal line