Download MetaTrader 5

Report the price of a horizontal line

To add comments, please log in or register
maindoor
120
maindoor  

Hi,

If I manually place a horizontal line on the chart,

how do I report the level where I placed the line to my EA ?

How do I even identify the line ?


Thanks.

honest_knave
Moderator
2412
honest_knave  
double LinePrice=ObjectGetDouble(0,"linename",OBJPROP_PRICE);
To add comments, please log in or register