Trend Lines
-
Hi FxDreema,
Instead of drawing horizontal lines, is it possible for an EA to draw trend lines instead?
The reason I ask is that I use a kind of breakout system and I use lines to show where the levels are visually. Once a line is broken I then get the EA to delete the lines. I'd like to be able to look at the chart of the old breakout lines though and a horizontal trend line would allow me to do that (without the ray property used anyway), providing I didn't delete them once the line was broken of course.
I look forward to your response.
Kind regards,
Steve. -
It's not impossible, but I have to create a block for it

Otherwise as a function it's something like this:ObjectCreate("Name", OBJ_TREND, 0, Time[10], Bid, Time[0], Bid); ObjectSet("Name",OBJPROP_RAY,0);Where Time[10] is the time value for 10th candle in history, and the second row tells that the trenline has beginning and end (otherwise it goes to infinity)
-
Cool thanks.
Any idea when a trend line block would be ready?