Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sequence of Painting Bars

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

    Sequence of Painting Bars

    Hello Support,

    I am wondering, if I have more than one indicator that paint bars, how does NT do the sequence of painting the bars.
    I test with three, it seems the does not follow the sequence as on the indicator list.
    eg.
    I have indicator 1, 2, 3, all turn on paint bars.
    The painting follows indicator 2, if I turn off 2, painting follows 1.

    Thanks.
    Regards,

    Edward K

    #2
    Hi Edward K,

    Thanks for the post. We are looking into and will update you a bit later.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      Thanks for the note.

      NinjaTrader methods run asynchronously. Therefor you cannot rely on a certain order of code being run and can very depending on my things. Also weather you run COBC = true or false will also matter as the color is set when OnBarUpdate runs. However OnBarUpdate with COBC = false on all indicators you cannot guarantee one running before another due to the asynchronous nature of NinjaTrader.
      BrettNinjaTrader Product Management

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      42 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      25 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      162 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      98 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      157 views
      2 likes
      Last Post CaptainJack  
      Working...
      X