Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible to have indicator use different series?

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

    Possible to have indicator use different series?

    Is it possible to use a different data series than the primary chart in an indicator?
    i.e. chart is 5 minutes.. but indicator is using a range bar type.

    #2
    https://ninjatrader.com/support/help...dataseries.htm

    Comment


      #3
      For some reason that link doesn't work.

      Comment


        #4
        Code:
        https://ninjatrader.com/support/helpGuides/nt8/adddataseries.htm

        Comment


          #5
          OK... I have a strategy I've built with multiple data series already. Just had not tried adding multiple data series to an indicator with different bar types. I will just give it a shot and see if it works.

          Comment


            #6
            Hello halgo_boulder,

            Thanks for your notes.

            You could use the AddDataSeries() method to add a secondary series to use in your script.

            See the help guide documentation below for more information.

            AddDataSeries(): https://ninjatrader.com/support/help...dataseries.htm
            Working with Multi-TimeFrame/Multi-Instrument NinjaScripts: https://ninjatrader.com/support/help...nstruments.htm

            We also have reference samples you could view that come default with NinjaTrader demonstrating adding a secondary series to a script. To view the scripts, open a New > NinjaScript Editor window, open the Strategies folder, and double-click on the SampleMultiTimeFrame or SampleMultiInstrument file.
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            Comment


              #7
              Originally posted by halgo_boulder View Post
              For some reason that link doesn't work.
              The link works fine for me in Firefox.

              Good reading about 'bad' links is here.

              Code:
              https://forum.ninjatrader.com/forum/ninjatrader-8/indicator-development/1283071-highlighting-the-indicator-panel#post1283082

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              629 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              364 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              564 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              568 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X