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

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.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Brevo, Today, 01:45 AM
      0 responses
      3 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      3 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      239 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Started by oviejo, Today, 12:28 AM
      0 responses
      6 views
      0 likes
      Last Post oviejo
      by oviejo
       
      Working...
      X