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!
See more
See less

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.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,607 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    6 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    15 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X