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.

    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.

        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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            80 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            45 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            66 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X