View Full Version : DrawLine into the future?
05-07-2007, 08:28 AM
I've been trying to draw a line into the future using DrawLine. I want it to stop a specified number of bars into the future and not continue indefinitely as in the case of a ray or extended line. I've tried passing negative integers into DrawLine for the future ending point but to no avail. Is it possible to exend DrawLine (or any type of line or drawing object) into the future with a specified ending point? Thanks.
05-07-2007, 08:45 AM
Its is not possible to draw a line into the future use future bars as an index value.
05-07-2007, 09:01 AM
Thanks. I finally thought not. I'll just use an extended line or ray and keep track of when I cross it.
09-10-2008, 12:21 PM
I was wondering if this issue has since been resolved or a workaround developed? At session open, I'd like to draw lines on the chart from there to session end.
09-10-2008, 12:27 PM
You can only draw lines in places where there are bars associated with it. You can try using DrawHorizontalLine. I think it will extend out indefinitely.