Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing Indicator Results from Different Bar Types

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

    #16
    Hello Zeos6,

    I am replying to you on behalf of my colleague Alan.

    To answer your first question, there is not much direction we can provide for a supported way to pass data directly between 2 indicators. We typically advise to create a helper AddOn with static variables so you can share data between NinjaScripts.

    I'll provide a link to an example on the forums if you haven't seen it yet: http://ninjatrader.com/support/forum...104#post457104

    As for your second question, Indicators must take a Series as input, or assume they use the primary data series. This Series could be an added data series, or a price series. If you would like to pass in a certain bartype, a series of that bar type will have to be created and passed to it.

    Valid input data for indicator methods - https://ninjatrader.com/support/help..._indicator.htm

    If you have any additional questions for us, please don't hesitate to ask.

    Comment


      #17
      Thanks for the reply Jim.
      I think I understand how to handle things from here on out. Appreciate all the help from the team. Thank you for the references.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      160 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      307 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      348 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      178 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X