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

Adding multiple data series in one strategy

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

    Adding multiple data series in one strategy

    I have looked every where I am at the point of giving up. I need to add 4 different times frames in one strategy. Am I writing this correct? AddDataSeries(Data.BarsPeriodType.Day, 1);

    #2
    Hello faisamtrader,

    AddDataSeries is the correct method for adding data, we have this documented with some samples in the following pages:

    https://ninjatrader.com/support/help...ghtsub=adddata
    https://ninjatrader.com/support/help...b=multi+series

    I highly suggest reviewing the second like that goes over multi timeframe scripts, there are a lot of considerations to make when using more than one series and this page highlights these items.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you Jesse

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by AlessioCianini12, Today, 01:38 AM
      0 responses
      7 views
      0 likes
      Last Post AlessioCianini12  
      Started by nandhumca, Yesterday, 11:54 PM
      0 responses
      15 views
      0 likes
      Last Post nandhumca  
      Started by nandhumca, Yesterday, 11:51 PM
      0 responses
      13 views
      0 likes
      Last Post nandhumca  
      Started by ezrollin, Yesterday, 11:48 PM
      2 responses
      15 views
      0 likes
      Last Post ezrollin  
      Started by jjanguda, Yesterday, 10:15 PM
      0 responses
      15 views
      0 likes
      Last Post jjanguda  
      Working...
      X