Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error message about new bars type

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

    Error message about new bars type

    When my strategy finally decides to start, I'm getting "Multiple Bartypes with the same BarsPeriodType were found. Ignoring Ninjatrader.NinjaScript.BarsTypes.VolumetricBars type. There are no charts with this bars types anywhere in my workspace and I haven't even figured out how to load the volumetric bars on a chart, much less begin using them in any strategy.

    BTW: Is there a way to load the last hundred bars or so on days like today? I set the DataSeries to one day and it's still not loaded yet. (My strategy uses TickReplay so... that's probably why.)

    (10 minutes later) Never mind on the question about loading a certain number of bars... I figured that out. Except now that I can load a couple hundred bars only, I'm no longer getting that weird message. Weird.
    Last edited by traderpards; 02-06-2018, 10:44 AM.

    #2
    Hello traderpards,

    Thank you for your note.

    If you go to Control Center>New>NinjaScript Editor and then under the BarTypes folder on the right side, do you have any custom bar types installed?

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Yes, several... One is a range bars variation that I converted right away, back around beta version 5 and hasn't given me any trouble whatsoever. The others are ones I would mind losing.

      Is there something new I need to do now that there is a new bars type? Hope so because now, all of a sudden, I'm getting a null exception just for calling Bars.IsFirstBarOfSession.

      The Bars object is not null but it doesn't know about the IsFirstBarOfSession member. And I'm using my custom bars conversion that I love.
      Last edited by traderpards; 02-06-2018, 01:12 PM.

      Comment


        #4
        Hello traderpards,

        If you go through your custom bartypes, in State.SetDefaults, are any of your custom bar types using slot 14?

        In the attached screen shot you'll see my custom bar type is using slot 666. This is where you'll check.

        I look forward to your reply.
        Attached Files
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          Yes, the one I converted is using slot 14.

          Comment


            #6
            Hello traderpards,

            The new volumetric bars are going to be using slot 14. Change this number to something >100.

            Please let us know if you need further assistance.
            Alan P.NinjaTrader Customer Service

            Comment


              #7
              Ahhh.... It seems to me that would have been nice to go in a release note. Before downloading and installing, I always review the release notes.

              Thanks. I'll make the change but I've already gone back to version 11.

              Comment


                #8
                Hello traderpards,

                I will submit a feature request this be added.

                Please let us know if you need further assistance.
                Alan P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Barry Milan, Yesterday, 10:35 PM
                5 responses
                17 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by DanielSanMartin, Yesterday, 02:37 PM
                2 responses
                13 views
                0 likes
                Last Post DanielSanMartin  
                Started by DJ888, 04-16-2024, 06:09 PM
                4 responses
                13 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by terofs, Today, 04:18 PM
                0 responses
                12 views
                0 likes
                Last Post terofs
                by terofs
                 
                Started by nandhumca, Today, 03:41 PM
                0 responses
                8 views
                0 likes
                Last Post nandhumca  
                Working...
                X