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

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.
    JimNinjaTrader Customer Service

    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 bortz, 11-06-2023, 08:04 AM
      47 responses
      1,602 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      8 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      4 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      12 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X