Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
z level plot order - how to change it in an indicator panel?
Collapse
X
-
z level plot order - how to change it in an indicator panel?
Hi, I have created a few indicators now, but I'm having trouble setting which lines plot on top. I haven't found a video tutorial, anything in the help manual, or anything in the Forum to guide me. I thought that the order I entered the plots in the NinjaScript Editor determined the order, but I've just created a second version of an earlier indicator, and the lines plot in the reverse order and nothing I change in the code seems to affect the order. Could someone please tell me what determines which line plots on top, and what has to be changed in my code to fix what is wrong now without redoing the whole thing through the editor again. Thanks in advance.Tags: None
-
Hello Woomera,
Thanks for your post.
As you stated, the order that the plots are listed, in State.SetDefaults, is what would determine which plot shows on the top when they have the same data point. It would be the last one listed that would show on top.
You could compare the sequence of plots in State.SetDefaults with "Values[n]" assignment in the #Region Properties between the two versions.
There are no other means to adjust the plot sequences.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 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
573 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
575 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment