Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Dr Kerry, Today, 02:03 AM
|
0 responses
2 views
0 likes
|
Last Post
by Dr Kerry
Today, 02:03 AM
|
||
Started by AndriXF7, 12-06-2023, 10:09 AM
|
5 responses
161 views
1 like
|
Last Post
by Lunorri
Today, 01:56 AM
|
||
Started by rosa2013, Today, 01:47 AM
|
0 responses
1 view
0 likes
|
Last Post
by rosa2013
Today, 01:47 AM
|
||
Started by owenany, Today, 01:25 AM
|
0 responses
1 view
0 likes
|
Last Post
by owenany
Today, 01:25 AM
|
||
Started by BigRay, 04-07-2023, 05:41 PM
|
2 responses
658 views
1 like
|
Last Post
by 2inthebush
Today, 01:10 AM
|
Comment