• 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

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:
                https://ninjatrader.com/support/foru...056#post630056
                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.

                    https://ninjatraderecosystem.com/use...pe-identifier/


                    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 futurenick, Today, 06:26 AM
                    1 response
                    7 views
                    0 likes
                    Last Post nkhoi
                    by nkhoi
                     
                    Started by NinjaCustomer, Today, 12:29 PM
                    0 responses
                    1 view
                    0 likes
                    Last Post NinjaCustomer  
                    Started by Steve L, Today, 11:32 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post Steve L
                    by Steve L
                     
                    Started by prabbala, Today, 10:41 AM
                    0 responses
                    1 view
                    0 likes
                    Last Post prabbala  
                    Started by bebbus, Today, 10:36 AM
                    0 responses
                    3 views
                    0 likes
                    Last Post bebbus
                    by bebbus
                     
                    Working...
                    X