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 -



      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.

            JimNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by RubenCazorla, Today, 09:07 AM
            2 responses
            13 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by i019945nj, 12-14-2023, 06:41 AM
            7 responses
            82 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by timmbbo, 07-05-2023, 10:21 PM
            4 responses
            158 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by tkaboris, Today, 08:01 AM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Lumbeezl, 01-11-2022, 06:50 PM
            31 responses
            820 views
            1 like
            Last Post NinjaTrader_Adrian  
            Working...
            X