• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-timeframe Series Break at EOD

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

    Multi-timeframe Series Break at EOD

    Hi everyone

    I have a strategy employing a number of different data series. It's important to me that the main data series (BarsArray[0]) has Break at EOD set to false.

    However, I would like to Add a Range series in the Strategy in which I have Break at EOD set to true.

    Is it possible to do this?

    Thanks!

    #2
    Hello janseun,

    Thanks for your post.

    In NinjaTrader8 you can add a data series that has a bool to set isResetOnNewTradingDay to true. Please see: https://ninjatrader.com/support/help...dataseries.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Paul

      Thanks for the reply. Do you maybe have an example that I can look at? I did notice this in the Help Guide, but when called with that bool, it also expects to be passed a BarsPeriod object which I don't think I fully grasp.

      Appreciate your help.

      Comment


        #4
        Hello janseun,

        Thanks for you reply.

        Here is an example:

        AddDataSeries("CL 02-18", new BarsPeriod(){BarsPeriodType = BarsPeriodType.Range, Value = 4}, "Nymex Metals - Energy ETH", false);
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thanks Paul - that did the trick - appreciate the help!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by williamzz, Today, 01:00 PM
          0 responses
          3 views
          0 likes
          Last Post williamzz  
          Started by edmata1109, Today, 12:40 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by ballboy11, Today, 11:57 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by swcooke, Today, 09:41 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by Catalon, Today, 10:02 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X