Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy updating

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

    strategy updating

    I've notice that when updating several of my strategies that upon the time that I open a strategy within a chart to run it that the changes do not appear to update. A typical situation is when after running an optimizer and trying to set in the 'optimized' data to be the default, then saving. So the updates have not gone into effect, as well when going back to inspect the changes or re-apply them to the strategy, they updated data is entered correctly within the wizard.

    Thank you,

    M

    #2
    Marus,

    Sorry I did not quite follow you. If you change things in your code you need to load a new instance of your strategy to have all code changes fully propegated. If you are just trying to change some parameter values you need to set it to what you want and then right click > Set as Default. The next time you add this strategy it will use those defaults. Defaults you set do not change any instances of strategies already running. It affects things going forward after you have it set, not backwards.

    Furthermore, setting defaults to optimizers sets the optimization range. There is no such range available for real-time running of your strategy. If you want defaults for real-time running of your strategy you would need to set those separately not from an optimization range.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,

      In my past experience when I edit a strategy through the wizard and update the user defined inputs and save the changes, then go to a chart to load a new strategy (recently modified) the changes have appeared, the user defined inputs carry over to the new strategy being requested through the chart. In this case I am unable to see where the user defined inputs changes are updating to new strategey initiation/s. Thanks, hope this is a little clearer..

      M

      Comment


        #4
        Changes to actual code will only propegate through the next time you add the strategy.
        Changes to "defaults" from the optimizer do not carry over. Optimizer defaults are a range to run the values on. Running your strategy in real-time cannot use a range and as such this will not work. You need to set defaults to single values instead of an optimization range if you want it to carry over.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Yes, I understand what you said. I am changing a valuewithin the strategy from using a simple SMA crossover and I am unable to change the the assigned value to either SMA reload the strategy and have the new SMA values be inplace as they should be.. Thanks for trying anyway

          Comment


            #6
            Marus,

            Pressing F5 to reload your strategy will not change the parameters. Only adding a new instance of the strategy will. Reloading will never change the parameters of a strategy as that would be unexpected behavior.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Hi Josh,

              If I delete the strategy from all charts and from the control center strategies tab page and load in a new strategy the updates saved within strategy should be there, and it is or they are not.

              Thank you for trying

              Comment


                #8
                Marus,

                Unfortunately I am not following what you mean by your sentence because it is confusing. When you add a brand new instance of your strategy it will load any defaults you set. To set a default you actually have to right click in the properties grid and select "Set as Default for ______". This default can only be set for real-time use when you do not have a range selector available for your parameters. Meaning, setting defaults to optimizations or walk-forward optimizations will not carry over to real-time running of strategies or backtests. Only setting defaults from backtests or other real-time runs will you have the defaults carry over to another real-time run.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Hi Josh,

                  All I know is that what I am trying to expalin, poorly as it may be, is that in my case what does and did work in 6.5 (which I am using this morning) did not work in 7. I know we are both trying

                  Comment


                    #10
                    Marus,

                    Perhaps if you gave me an exact sequence of listed steps from the very beginning I could see what you are doing. Please note that 6.5 did not have "Set Default for ________" behavior at all. This is brand new to 7.

                    If you could provide something like this, that would be perfect to get on the same page:
                    1. Open NT
                    2. Connect data provider
                    3. Open 1min chart of ES 06-10
                    4. Add strategy as enabled
                    ... etc....

                    Thank you.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Hi Josh,

                      Open Nt7
                      Open workspace
                      connect to service provider
                      lots of time to load data as searching from 1/1/1800 to present
                      charts go back less than 20 days
                      right click on chart
                      strategies
                      scroll down to desired stragey and hit new
                      see that the default is not ideal for daily use example multiplier is 1.8
                      remove strategy
                      close
                      open strategy analyzer
                      scroll down to desired strategy
                      double click
                      editor opens
                      nest nest
                      user defined inputs; I see that it already reads 0.800 which is what I really want but today I'll change it to 3.4
                      next next next finish
                      right click on chart
                      strategies
                      scroll down to desired strategy
                      new
                      I observe that the multiplier is still 1.8

                      This should have updated (to my mind)
                      It has been ongoing for a couple of weeks and last week had major crash issues reloaded NT7

                      Please let me know the error of my ways

                      Thank you

                      M

                      Comment


                        #12
                        I have tested this on my end and everything works as expected.

                        I would like to schedule a call with you for tomorrow to assist with resolving the issue by remotely logging into your PC.

                        Please send a note to Support [AT] NinjaTrader [DOT] com with "ATTN: Chris" in the subject line.

                        In the message, please include the following:
                        1.) A link to this forum thread.
                        2.) A time you will be available tomorrow between 8:00 AM EST and 3:30 PM EST.
                        3.) The best phone number to reach you at.
                        Christopher J.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        596 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        343 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        103 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        556 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        554 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X