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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      227 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      146 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      160 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      237 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      197 views
      0 likes
      Last Post CarlTrading  
      Working...
      X