• 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

BarsPeriodTypeName

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

    BarsPeriodTypeName

    Hello, can you follow up on why this is deprecated/obsolete
    for BarsPeriod ? did this happen in prior releases or 12 ? as i just upgraded.

    For custom bars it seems the BarsPeriodType is the key part.

    thanks

    #2
    Hello soulfx,

    I am inquiring about this with others in the office.

    I know we had discussed using this previously. So we can answer any questions you have and provide recommendations, could you describe what you are using it for currently?

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

    Comment


      #3
      Hello, yes we did discuss this back in august 2017 -

      https://ninjatrader.com/support/foru...d.php?t=103046

      you can see in this post and your post on this specifically with reference to the BarsPeriodTypeName

      that covered generally what i was trying to achieve

      the other point was that Brett commented on was Ninja would strive to better document in release notes when key/any methods/properties were being deprecated as happened with createorder with some changes to parameters for addon order use.

      please update once you have information from your collegues on this being removed.

      thanks

      Comment


        #4
        Hello soulfx,

        Reaching out to others in the office and checking internal information, the answer is that it was marked obsolete to tell users "Don't use this anymore." Since it was an undocumented item, it would make more sense why this would not be explicitly listed in the release notes in contrast to CreateOrder() which was updated in the help guide and marked as deprecated which could be seen in Visual Studio.

        It would be recommended then to use the index for your custom bartype and cast it with BarsPeriodType. I've updated my old post in that thread to advise this.

        If there is anything else we can do to assist, please let us know.
        JimNinjaTrader Customer Service

        Comment


          #5
          Hello, yes i am now using BarsPeriodType - i had a look at the post i linked in my last message .. which part did you update on this ? doesnt appear to have refreshed on public site ?

          thanks

          Comment


            #6
            Hello soulfx,

            I had only added a note to post 4 last week. I have elaborated on the example in that post to detect ChartTabs with a certain BarsType by name.

            https://ninjatrader.com/support/foru...30&postcount=4
            JimNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by ralett, Yesterday, 07:29 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Marco  
            Started by bboyle1234, Yesterday, 10:46 PM
            0 responses
            2 views
            0 likes
            Last Post bboyle1234  
            Started by swcooke, Yesterday, 04:29 PM
            0 responses
            4 views
            0 likes
            Last Post swcooke
            by swcooke
             
            Started by bboyle1234, Yesterday, 04:27 PM
            0 responses
            2 views
            0 likes
            Last Post bboyle1234  
            Started by swcooke, Yesterday, 03:31 PM
            2 responses
            11 views
            0 likes
            Last Post swcooke
            by swcooke
             
            Working...
            X