touch trend line
-
Hi, I have drawn the daily High and Low as trend lines for the past 10 days.
Now, I want the robot — when attached to the chart — to check the past data, and for each line that has been touched, it should remove the extended property so that the line only extends up to the point where it was touched. -
Do you mean those lines are manually positioned only? What do you exactly mean by '...remove the extended property...'?
-
See, I draw the daily high and low with the trendline line. Then I wrote a loop that draws these lines for, say, the last 10 days. Now, when I run the EA on the chart and draw for the last 10 days, I want the EA to check and remove the lines that were touched from the chart and draw them until they are touched.
-
I thing I get the isea, but I'm still a bit confused. Could you please upload some images showing an example of what you exactly mean?
-

-
These are the daily ceiling and floor lines that are drawn for the past 10 days. Now I want the lines that are touched to be removed from the extended state and drawn up to the moment of touch.
-
I see. I have to admit that goes beyond my abilities in fxDreema, I'm afraid. Plotting all daily lines ies easy. However, removing those in contact with a trend line, I don't know, sorry. Maybe jstap can be more helpful here.