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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    368 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    571 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X