Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

reassign bar slot

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

    reassign bar slot

    Having an issue with custom bar type not appearing on charts - possible slot conflict. Please provide instructions on how to assign a new slot number for a custom bar type.

    Thanks

    #2
    Hello srbdoc,

    Each custom barstype has a predefined 'slot' in which it would be sit in NT's type collection, in total there are 15 slots available (.Custom0 - Custom9 + .Final0 - Final4).

    If you run into an issue with selecting or importing custom type for use, it could be another custom type installed as well would already take of of the slots above. There is for example an addon type from Rjay called ChannelTrend, it defaults to use .Custom5

    You may have to modify the code of the bar type, which in your case might look like

    Code:
    Public userUSABarType() : base(ChartStyleType.Custom8
    To,

    Code:
    Public userUSABarType () : base(ChartStyleType.Custom9)
    Or you could use the attached indicator to print the bar types and identify which other bar type is occupying Custom8, and then remove it.

    Please let us know if you need further assistance.

    (Update Jan 6th, re-uploaded as an importable NinjaScript .zip file)
    Attached Files
    Last edited by NinjaTrader_ChelseaB; 01-06-2019, 02:45 PM.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      so i have put this indicator on chart. I was having a conflict with unirenko and want to reassign it, so need to find empty slot.
      But i don't see where the info is posted for the slots from this indi?
      Thanks

      Comment


        #4
        Hello stifland,

        Thank you for writing in.

        This information will be printed to the output window.

        To open the output window, Control Center>Tools>Output Window.

        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          Hi Alan,
          How do I install CustomTypesIdent.cs onto NT7? Thank you

          Comment


            #6
            Hello KENSANLB,

            I apologize on behalf of my colleague that this was not shared as an importable NinjaScript package.

            I have re-uploaded to his post a importable file.

            File > Utilities > Import NinjaScript ...
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Thank you Chelsea, can you provide more detail instructions on how to assign different slot for different bar types?

              Comment


                #8
                Hello KENSANLB,

                As a heads up custom bar types are not officially supported for NInjaTrader 7.

                You will need to modify the bar type code outside of NinjaTrader. You will need to change the PeriodType number to a number that is not being used.

                See:
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  Hello,

                  Is there similar indicator made for NinjaTrader 8? I am getting conflict from 3rd party vendor regarding bar types (something using someone else's bar slot, need to find out which one...)...

                  Thanks

                  Comment


                    #10
                    Hello music_p13,

                    Below is a link to the User App Share section of the NinjaTrader Ecosystem where a similar indicator for NinjaTrader 8 can be found.

                    This is just a simple script which prints the BarsTypes and their BarsPeriodType ID as an integer. This is to aid in finding BarsPeriodType ID’s for the use with AddDataSeries syntax. For more apps from this user, check out the Trendline Detection tool!



                    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
                    Chelsea B.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by cre8able, Today, 03:20 PM
                    0 responses
                    5 views
                    0 likes
                    Last Post cre8able  
                    Started by Fran888, 02-16-2024, 10:48 AM
                    3 responses
                    47 views
                    0 likes
                    Last Post Sam2515
                    by Sam2515
                     
                    Started by martin70, 03-24-2023, 04:58 AM
                    15 responses
                    114 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by The_Sec, Today, 02:29 PM
                    1 response
                    7 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by jeronymite, 04-12-2024, 04:26 PM
                    2 responses
                    31 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Working...
                    X