Download MetaTrader 5

Grabbing price from chart

To add comments, please log in or register
Andrew
18
Andrew  

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 

whroeder1
16071
whroeder1  
Of course it's possible. Scan the object list for hlines, get the prices from them.
Andrew
18
Andrew  
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 
To add comments, please log in or register