Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

z level plot order - how to change it in an indicator panel?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X