Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sorting parameters

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

    Sorting parameters

    Hi all,
    is it posible to change the order of appearance of parameters?, for instance, i have this order on Parameters the right panel:

    timeExit 1;1;1
    nTicks 1;1;1
    emaPeriod 1;1;1
    exit 1;1;1

    I would like to reorder...

    exit 1;1;1
    timeExit 1;1;
    emaPeriod 1;1;1
    nTicks 1;1;1

    Is that posible?

    Thanks,
    Vince.

    #2
    Hello vibarco,
    You can use the DisplayName attribute to do it. You have to add numeric value before the name to do it.

    Please refer to this thread which further demonstrates it.
    http://ninjatrader.com/support/forum...17&postcount=2
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thanks Joydeep,

      and is there any way to set a title? For instance:

      ==Exits==
      exitEnable true
      exitUsed 1;1;1

      i don't know if i can set a "==Exit==" title in the list.

      Regards,
      Vince.

      Comment


        #4
        Hello vibarco,
        You can name the Grid category accordingly to do it

        Code:
        [GridCategory("Exit")]
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          Thanks joydeep,

          great organization now... what about a combo? for instance:

          Exits
          20. Exit [combo of options, 1,2,3,4 or text TimeExit, ChanelExit] <- select a diferent exit.

          Best,
          Vince.

          Comment


            #6
            Hello vibarco,
            Can you please let me know what do your mean by combo?

            Can you upload a screenshot demonstrating it.
            JoydeepNinjaTrader Customer Service

            Comment


              #7
              Yes sorry,



              A list of exits, no like 1;1;1 is not and optimize parameter, i test and exit individually.

              Best,
              Vince.

              Comment


                #8
                Hello vibarco,
                Are you trying to create an enum?

                If so then please refer to this sample code which further demonstrates it
                http://ninjatrader.com/support/forum...ead.php?t=3420
                JoydeepNinjaTrader Customer Service

                Comment


                  #9
                  Yes Joydeep, i want to create my own enum parameter in the Strategy. Is that posible?

                  Best,
                  Vince.

                  Comment


                    #10
                    Hello Vince,
                    Yes, it is possible to create your custom enum parameters. Please refer to this sample code which further demonstrates it.
                    http://ninjatrader.com/support/forum...ead.php?t=3420
                    JoydeepNinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by ezrollin, Today, 10:11 AM
                    0 responses
                    1 view
                    0 likes
                    Last Post ezrollin  
                    Started by xmess777, Yesterday, 07:16 PM
                    1 response
                    22 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by 8033075, Yesterday, 08:13 PM
                    1 response
                    34 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by futurenow, Yesterday, 06:13 PM
                    1 response
                    24 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by trader3000a, Today, 07:34 AM
                    6 responses
                    23 views
                    0 likes
                    Last Post NinjaTrader_PaulH  
                    Working...
                    X