Download MetaTrader 5
To add comments, please log in or register
Have you developed a profitable strategy? Launch your trading signal and make profit from it!
porkcushion
64
porkcushion 2014.12.18 19:31 
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
Moderator
8017
Keith Watford 2014.12.18 20:19  

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

either

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