Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DrawLine line disappearing
Collapse
X
-
Bertrand,
If you are Drawing a Sup/Res line as I do there are times when you want to draw that line into the future. As an example lets say it is 8:30 AM and I want to draw a Sup/Res line from 6:30 am to the NY close at 4:15 pm. Only want to perform the calcs to draw the line one time because that are computer resource intensive. So now it is the middle of the day and the line startTime is off the left side of the chart and the 4:15 bar is still in the future. The DrawLine disappears yet it is still a viable Sup Res line.
Plots are not an option because the numbers of Lines / Plots is unknown when the calcs are performed. So the question I have is why would you not want those lines visible? They other questions is why would I want to redraw that line on every bar when I only need to draw it once. That seems to me to be a waste of computer cycles when speed is of the essence. And to make matters worse is the inability to DrawLines Globally via script so if I want to see those lines on multiple timeframes/ charts I have to redo the cals and DrawLines on each chart.
Is there to keep the lines on the chart under this scenario without have to perform constant recalcs and redraws?
Comment
-
TAJTrades, the outcome is unfortunately expected for our x axis time sequencing approach, have you tried using just an extended line or ray for example? The endpoints would be infinite and thus you would not need to supply an exact future anchor.
The option to draw globally programmatically is on our feedback list - thanks for bringing it up.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
599 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
344 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
557 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment