Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatically Access Indicator Order

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

    Programmatically Access Indicator Order

    Is it possible within a NinjaScript to access the order that indicators are applied to a chart? For example, if I add three EMAs to my chart in the order 5 EMA, 10 EMA, 15 EMA is it possible inside my indicator code to determine this particular order? The custom tools I am developing need to know in what order they were applied to the chart and I'm having trouble finding a solution.

    #2
    Hello RandomTask,

    Thanks for the post.

    There is not a specific order in which the indicators will load so the order they were added would not be known. You can access the indicators in the charts indicators collection, I am not certain if the order in that collection would stay consistent with the chart but you could determine what was applied after they are loaded. https://ninjatrader.com/support/help...sub=indicators

    I look forward to being of further assistance.

    Comment


      #3
      Thank you. I'll see if I can wrangle that for my use.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      168 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      324 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      250 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      351 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      180 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X