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 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
      238 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
      4 views
      0 likes
      Last Post oviejo
      by oviejo
       
      Started by pechtri, 06-22-2023, 02:31 AM
      10 responses
      125 views
      0 likes
      Last Post Leeroy_Jenkins  
      Working...
      X