Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.



    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 funk10101, Today, 12:02 AM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by GLFX005, Today, 03:23 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by nandhumca, Yesterday, 03:41 PM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by The_Sec, Yesterday, 03:37 PM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by vecnopus, Today, 06:15 AM
            0 responses
            1 view
            0 likes
            Last Post vecnopus  
            Working...
            X