Grabbing price from chart

 

Hi I wondering if any one can point me to the right direction. I would like to write an EA  where the user places lines on the chart and EA will pick up the numbers on the chart and the EA can be work dynamically.

 For example EA request for the pending buy order with profit, buy price and the stop loss  and the user places three lines on the chart. The EA will pick up the numbers. Is this possible to do? and if it can can anyone point me to the right direction. 

 

Thanks 

 
Of course it's possible. Scan the object list for hlines, get the prices from them.
 
WHRoeder:
Of course it's possible. Scan the object list for hlines, get the prices from them.
Thanks WHRoeder exactly what I'm looking for