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

Creating a Hidden Bar Type

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

    Creating a Hidden Bar Type

    I have created a new bar type that I use as a secondary series in several indicators and strategies. As a result, I need to include the bar type when I export the indicators and strategies so they will function properly. However, I do not want the end users to be able to create charts using my new bar type. Is there any way of hiding my custom bar type so that it is not an option when creating a new chart?

    #2
    Hello SystemTrading, thanks for writing in.

    There would be no way to exclude the custom bar type since the bar type needs to be compiled into NinjaTrader.Custom.dll along with all the other bar types. You would need to sell the bar type along with your indicator since the user will be able to see the bar type in the Type list of the data series window.

    Please let me know if I can assist any further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chris!

      Comment


        #4
        Originally posted by SystemTrading View Post
        Thanks Chris!
        Just curious, you can already add a secondary series in an indicator in NT8 without your bar type. Why do you need your custom hidden bar type to include a secondary series in an indicator?

        Cheers!

        Comment


          #5
          Originally posted by aligator View Post

          Just curious, you can already add a secondary series in an indicator in NT8 without your bar type. Why do you need your custom hidden bar type to include a secondary series in an indicator?

          Cheers!
          I was hoping to use the hidden bar type as a secondary series, not use a secondary series in the hidden bar type.

          Comment


            #6
            Originally posted by SystemTrading View Post

            "I have created a new bar type that I use as a secondary series in several indicators and strategies."
            Sorry for miscommunication. I guess, based on above quote, my point is you can add a secondary series in indicators without the need for your hidden bar type.
            Last edited by aligator; 11-18-2020, 03:17 PM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by reynoldsn, Today, 09:01 AM
            1 response
            2 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Gavin45, Today, 08:40 AM
            2 responses
            3 views
            0 likes
            Last Post Gavin45
            by Gavin45
             
            Started by Option Whisperer, Today, 09:00 AM
            0 responses
            2 views
            0 likes
            Last Post Option Whisperer  
            Started by icebergdelphi, Today, 08:57 AM
            0 responses
            3 views
            0 likes
            Last Post icebergdelphi  
            Started by z.franck, Today, 08:37 AM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Erick  
            Working...
            X