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

Moving customized parameters

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

    Moving customized parameters

    Hi,

    is there a chance to move a customized input parameter series up or down in the box? Let's say I want to have the "Data" input series (or whatever other) at the first place, instead of the "Parameters" input series.
    (see picture attached).

    Thanks.
    Attached Files

    #2
    Max,

    Unfortunately there is no way to do this currently. You can create your own sections in code but likely this wouldn't work the way you want.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by MAX View Post
      Hi,

      is there a chance to move a customized input parameter series up or down in the box? Let's say I want to have the "Data" input series (or whatever other) at the first place, instead of the "Parameters" input series.
      (see picture attached).

      Thanks.
      Use a GridCategory that is not called Parameters, and move everything into it.

      Comment


        #4
        Thanks to all.

        Koganam, I'm already using a Category that is not called "Parameters", but the question is how to move this whole category on the top of the list.

        Comment


          #5
          Originally posted by MAX View Post
          Thanks to all.

          Koganam, I'm already using a Category that is not called "Parameters", but the question is how to move this whole category on the top of the list.
          GridCategory, not Category.
          Last edited by koganam; 11-11-2012, 06:23 PM.

          Comment


            #6
            Could you make me an example please?

            Comment


              #7
              Originally posted by MAX View Post
              Could you make me an example please?
              Code:
                      [Description("")]
                      [GridCategory("First Block")]
                      public int MA1Period
                      {
                          get { return this.mA1Period; }
                          set { this.mA1Period = Math.Max(1, value); }
                      }

              Comment


                #8
                So this should allow to have (in your example) the "First Block" section on top of the grid?

                Comment


                  #9
                  Originally posted by MAX View Post
                  So this should allow to have (in your example) the "First Block" section on top of the grid?
                  I believe that is what you requested? Did I get it wrong?

                  Comment


                    #10
                    Sure. I will try it, thanks.

                    Comment


                      #11
                      Originally posted by koganam View Post
                      GridCategory, not Category.

                      Ahhh, Yesssss.... This saved me from beating my head against the wall. For whatever Reason Ninja seems to recognize "Category" when you use it with parameters "[Category("Parameters")] but if you change it to anything else It seems to need GridCategory.

                      Thanks
                      Jerry

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Rapine Heihei, Today, 08:19 PM
                      1 response
                      6 views
                      0 likes
                      Last Post NinjaTrader_Manfred  
                      Started by Rapine Heihei, Today, 08:25 PM
                      0 responses
                      5 views
                      0 likes
                      Last Post Rapine Heihei  
                      Started by f.saeidi, Today, 08:01 PM
                      1 response
                      4 views
                      0 likes
                      Last Post NinjaTrader_Manfred  
                      Started by Rapine Heihei, Today, 07:51 PM
                      0 responses
                      6 views
                      0 likes
                      Last Post Rapine Heihei  
                      Started by frslvr, 04-11-2024, 07:26 AM
                      5 responses
                      98 views
                      1 like
                      Last Post caryc123  
                      Working...
                      X