Download MetaTrader 5

line continue

To add comments, please log in or register
How can i make a trend line draw from i high or low point and continue to stay at the price horizontal until price touches again
Keith Watford
Keith Watford  

In the case of a high

determine the high point

create the trendline using the high value for both price co-ordinates

you can set the ray property to true if you don't need to determine where the trendline ends


save the high value as a Global variable and check if price is >=  the value

or retrieve the price value of the line using ObjectGet and check if price is >=  the value 

Do whatever you want to do when price touches the line 

To add comments, please log in or register