• 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

How to Get All Available Period Types ?

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

    How to Get All Available Period Types ?

    Hi,
    I Want to Know How Can I Get All Available Period Types In Properties Just Like We Can Get In Market Analyzer , Indicator Column, Check Attached Image
    Attached Files

    #2
    stockpro,

    If I understand you correctly, I would suggest the following.

    http://www.ninjatrader.com/support/h...barsperiod.htm

    There is a PeriodType in that object. If you could clarify what you are trying to do I'd be happy to help further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I Can Get All Period Types Which Are Available By Default But Suppose There are Other Bars Types Also Which Is Custom Created , i Will Not Be Able to Get those With Their Names And There Required Properties, Some Could Have 1 Property And Other Will Have 3 or more Depending upon its code , i want to create indicator which can run in any Dataseries for that i want all types of periods listed in properties window as just it appears on Above Image (In Same manner) can You Provide Me Code Which Will Let Me Do Same

      Comment


        #4
        stockpro, For indicators based on added series, we support only hard coding each additional series in Initialize() method. We recognize that some users would like to be able to add series dynamically, and I will be happy to forward your recommendation for this as well to our development team.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Can You Provide Some Type Of Example Code About How Can I Search For All Period types Along with its Properties, I Need to Get This Info For My Indicator

          Comment


            #6
            Unfortunately we do not have such code. We have assigned tracking id # 179 to your feature request to change added series through UI controls.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by benjamind10, Today, 07:27 PM
            0 responses
            2 views
            0 likes
            Last Post benjamind10  
            Started by YevhenShynkarenko, Today, 06:07 PM
            0 responses
            4 views
            0 likes
            Last Post YevhenShynkarenko  
            Started by StevenNelson, Today, 04:07 PM
            3 responses
            10 views
            0 likes
            Last Post NinjaTrader_ShawnB  
            Started by Matthew Spositi, Today, 03:28 PM
            2 responses
            8 views
            0 likes
            Last Post Matthew Spositi  
            Started by faisamtrader, Today, 01:30 PM
            2 responses
            20 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Working...
            X