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

Own seperators in Backtest-Wizard

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

    Own seperators in Backtest-Wizard

    Hi,

    I want to seperate some group of variables in the backtest wizard. I want to have an own part for my money-management-variables an own part for indicator-variables and so on ... should look like this:

    ===========
    var1 = x
    var2 = y
    ...
    ===========
    period1 = z
    ....
    ===========

    How can I achieve this?

    Thx,
    DT

    #2
    DT, unfortunately not supported for NinjaTrader 6.5 - however you could structure all parameters with alphabetic prefixes for example to streamline the 'parameters'.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi, thx for the answer. I know that it is not supported ... but thought something could give me some hints how to achieve this ... because this is a user forum and other users maybe have some experiences with it ...

      Comment


        #4
        You're welcome, for sure everybody is invited to share their tweaks on our forums.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          You can create new categories in the NT 6.5 (it may not work in 7.0) backtest property inspector like this:
          Code:
                  [Category("Stop")]
                  public int StopATRDays
                  {
                     ....
                  }
          Expand the Properties folded code area in your strategy to edit the category attribute.

          Comment


            #6
            Thx Anagoge. I'll give it a try at the weekend ...

            Comment


              #7
              It works ... but after setting the category to Money-Management it is shown under the "Fill Processing" part.

              How can I show it directly beneath "Parameters"?

              Comment


                #8
                Ok, I found it. I can use \t\t\t to arrange the sections. It behaves like inside each section with \t in front of the param-names.

                Comment


                  #9
                  Thought it worked ... but only in backtesting.

                  When using the strategies on a chart no parameter or stop section is shown, only when I use "parameters" for the category-name ....

                  Comment


                    #10
                    Originally posted by DarthTraderson View Post
                    ...When using the strategies on a chart no parameter or stop section is shown, only when I use "parameters" for the category-name ....
                    That's correct, category names others than parameters works for indicators only.

                    Regards
                    Ralph

                    Comment


                      #11
                      Thank you for clarifying this. Thats curious. In backtesting mode it seems to work, but when I switch to live trading ... no parameters ... maybe it will change with NT7, because if you have a lot of parameters the wizard is looking very confusing ...

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by OllieFeraher, 05-09-2024, 11:14 AM
                      5 responses
                      16 views
                      0 likes
                      Last Post MisterTee  
                      Started by jackiegils, Yesterday, 11:05 PM
                      1 response
                      9 views
                      0 likes
                      Last Post marcus2300  
                      Started by Skifree, Today, 02:50 PM
                      0 responses
                      8 views
                      0 likes
                      Last Post Skifree
                      by Skifree
                       
                      Started by owen5819, Today, 02:24 PM
                      1 response
                      11 views
                      0 likes
                      Last Post owen5819  
                      Started by Skifree, 05-07-2024, 11:38 PM
                      2 responses
                      28 views
                      1 like
                      Last Post Skifree
                      by Skifree
                       
                      Working...
                      X