Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator Panel Draw Objects Lost When Moved
Collapse
X
-
Indicator Panel Draw Objects Lost When Moved
When I Use DrawOnPricePanel=false and DrawLine() to draw a line in an indicator panel, then drag that indicator on to the Price panel, the lines that were drawn are lost, and do not appear on the price panel.Tags: None
-
The lines never get displayed while the indicator is overlaid on the price panel, even if F5 is pressed. If the indicator is dragged back to it's own panel, then the lines re-appear, but only after pressing F5.Originally posted by NinjaTrader_Brett View PostHello,
Thanks for the note.
Curious, do the lines come back if you press f5 to refresh NinjaScript?
Comment
-
Hello,
Alright what is occurring is this is still at play in the indicator init as you suggested.
DrawOnPricePanel=false
So that indicator Plot output would be on panel one however the drawing objects are still on Panel two due to this in Initialize.
I'm checking with my product manager later this morning to see if there is a way around this limitation.
Thanks for your patience.BrettNinjaTrader Product Management
Comment
-
Hello,
Unfortunately there is no way around this. To draw on the main price panel you would need to to set: DrawOnPricePanel=true in init.
This means you may need 2 versions of your strategy/indicator. One that runs on the primary series and one that runs on the secondary series.
Let me know if I can be of further assistance.BrettNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
606 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
353 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment