• 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 claxxical, Today, 10:00 PM
          0 responses
          5 views
          0 likes
          Last Post claxxical  
          Started by ct, Today, 08:13 PM
          0 responses
          6 views
          0 likes
          Last Post ct
          by ct
           
          Started by Lumbeezl, Today, 05:17 PM
          0 responses
          6 views
          0 likes
          Last Post Lumbeezl  
          Started by wishing, Today, 03:33 PM
          0 responses
          10 views
          0 likes
          Last Post wishing
          by wishing
           
          Started by ATMtrader0001, Today, 01:48 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Working...
          X