• 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

8.0.12 Custom BarType Not Displayed Correctly In Interval Selector

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

    8.0.12 Custom BarType Not Displayed Correctly In Interval Selector

    After upgrading, I am seeing an issue with custom bar types. In the interval selector, I am seeing a value like "2 114", where the 2 is the BarPeriod Value and the 114 is the custom bar BarsPeriodType. This used to display the BarPeriod.Value and Name.

    Interestingly, when the interval selector is opened, the name is correctly displayed in the first column if the type has been configured.

    Update: This is only happening with one bar type, which I had to change and recompile because the value initially used for BarsPeriodType was overwritten with your new Volumetric bar type that was released.
    Last edited by aslane; 02-05-2018, 12:08 PM.

    #2
    Please clarify - is the issue still occurring? Or did editing the custom NinjaScript resolve the issue?

    Ddoes the custom bartype still use the same enum value as the new volumetric bar type/chart style?

    The new volumetric bar type occupies enum 14
    The new volumetric chart style occupies enum 8

    Details can be found here:

    https://ninjatrader.com/support/help...tstyletype.htm

    Could you upload the bar type so I may review it? If you're unwilling to post it publicly here on the forums, could you send it to PlatformSupport[AT]NinjaTrader[DOT]com.
    Patrick G.NinjaTrader Customer Service

    Comment


      #3
      Yes still happening.

      My bar type was using 14 (which I know was a bad idea - my other bars all use much higher random values). I saw the message in the log after upgrading that there was a duplicate, so I changed it to 114 and recompiled/restarted. Hence the 114 in the display string.

      I'll send you the bar type, nothing very interesting just a true range bar.

      Comment


        #4
        I wanted to post back for anyone that might search and find this.

        The problem was narrowed down to a "Ninja-ism", in that the problem was being caused by NT changing the value of BarsPeriod.BarsPeriodTypeName from the value that was originally set in the SetDefaults State. The solution given was to hard code the name in the BarType instead of using the name of the BarPeriod.

        This was done in order to fix a different bug #12324.

        So the above even though clearly an issue, is not an issue because NT has depreciated that field, which is odd since there is now no way to name a BarPeriod.

        So, you fix bugs by creating new bugs (I mean depreciating fields). Clearly, NT8 is not going stabilize anytime soon, and I now understand why most vendors have not ported over to NT8 yet when you have such a moving target.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by stokhastic, Today, 07:08 PM
        0 responses
        3 views
        0 likes
        Last Post stokhastic  
        Started by jlkramer16, Today, 04:29 PM
        1 response
        4 views
        0 likes
        Last Post jlkramer16  
        Started by stokhastic, Today, 03:29 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by jamestrader21x, Today, 09:36 AM
        8 responses
        32 views
        0 likes
        Last Post nkhoi
        by nkhoi
         
        Started by brucerobinson, 10-31-2018, 05:17 AM
        3 responses
        75 views
        0 likes
        Last Post brucerobinson  
        Working...
        X