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

Changing Plot Order

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

    Changing Plot Order

    I thin I am right in thinking that to change plot order I'd have to recompile an indicator however regardless of how what order I define the plots in it seems arbitary how they are actually plotted.

    Is there a way I can ensure an indicator with 3 plots stacks them in a certain order?

    Many thanks.

    #2
    >> Is there a way I can ensure an indicator with 3 plots stacks them in a certain order?
    If you could not manage this by the changing the order of Add() calls in Initialize() then I would not know.

    Comment


      #3
      Thanks for your prompt answer!

      I messed up I was getting confused how a series added with "public DataSeries MySeries" related to a plot series. Still am actually they seem to reference the same actual series?

      Anyway I did discover that plots plot in reverse order to how they are added so all is well.

      I guess if I want to have stack bars and switch them so the smallest is in the front (like the image) I will need 4 plots ?

      Cheers,
      Nick
      Attached Files

      Comment


        #4
        I have not tried that. You would need to try by yourself.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jbays87, Today, 09:46 PM
        0 responses
        4 views
        0 likes
        Last Post jbays87
        by jbays87
         
        Started by popecapllc, 08-09-2023, 07:42 PM
        9 responses
        1,362 views
        0 likes
        Last Post BartMan
        by BartMan
         
        Started by ETFVoyageur, 04-30-2024, 02:04 PM
        11 responses
        101 views
        0 likes
        Last Post ETFVoyageur  
        Started by bubblegum, 03-18-2024, 10:41 AM
        3 responses
        48 views
        0 likes
        Last Post vjsworld  
        Started by JamesK1, Today, 02:48 PM
        1 response
        13 views
        0 likes
        Last Post JamesK1
        by JamesK1
         
        Working...
        X