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 ZenCortexAuCost, Today, 04:22 AM
      0 responses
      0 views
      0 likes
      Last Post ZenCortexAuCost  
      Started by SantoshXX, Today, 03:09 AM
      0 responses
      13 views
      0 likes
      Last Post SantoshXX  
      Started by DanielTynera, Today, 01:14 AM
      0 responses
      2 views
      0 likes
      Last Post DanielTynera  
      Started by yertle, 04-18-2024, 08:38 AM
      9 responses
      42 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by techgetgame, Yesterday, 11:42 PM
      0 responses
      14 views
      0 likes
      Last Post techgetgame  
      Working...
      X