Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Additional CategoryOrder

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

    Additional CategoryOrder

    Hello.

    In my strategy, I have a custom order for displaying categories in the Settings:

    csharp
    Copy
    Download[Gui.CategoryOrder("Properties", 1)]
    [Gui.CategoryOrder("Setup", 2)]
    [Gui.CategoryOrder("Parameters", 3)]
    [Gui.CategoryOrder("ATM Strategy", 4)]
    [Gui.CategoryOrder("ZigZag", 5)]
    [Gui.CategoryOrder("Moving Averages", 6)]
    // ... and so on

    When I run the uncompiled version, everything works fine—I only see these specific groups of settings.
    But when I run the compiled version, I see additional categories like:
    • Optimize
    • Visual
    • Misc
    • Lines

    How can I hide (or remove) them?

    Thanks!

    #2
    Hello vitaly_p,

    Unfortunately, removing the default categories is not supported by NinjaTrader as this removes default intended functionality.

    This thread will remain open for any community members that would like to provide unsupported code.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea

      Thank you for your answer

      Could you tell me is it possible to hide this categories? And why I don't see this categories in my other strategies? Just one my strategy have these.​

      Comment


        #4
        Hello vitaly_p,

        Unfortunately, removing (hiding) the default categories is not supported by NinjaTrader as this removes default intended functionality.

        The categories appear automatically appear depending on what is in the script.

        If you make a new test script and compile, then test the script does the new test script have the same behavior?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          The key difference between this strategy and others is the use of ATM and the ZigZag indicator

          Comment


            #6
            Hello vitaly_p,

            Copy one line (or one definition) at a time from the issue script to the new script.

            At what point does the behavior appear?
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Chelsea, It's 6500 lines of the code

              but I understood your idea

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Today, 05:17 AM
              0 responses
              52 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              130 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              70 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              44 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              48 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X