Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

If I change script code, do I have to restart NT7?

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

    If I change script code, do I have to restart NT7?

    Hi all - quickie question here - if I make some code changes to a strategy script, do I have to restart Ninja to have those changes go into effect? I kinda thought disabling the strategy from the chart, making changes, then re-enabling the strategy might be enough, but am not sure. Didn't know if Ninja loads all of the scripts into internal memory when booting up(which would require a reboot after changing code) or if it loads the current/fresh copy of the code from disk when enabled/re-enabled for the first time.

    Thanks...
    Last edited by AMATX; 11-23-2016, 09:48 AM.

    #2
    Hello AMATX,

    When making changes to a script and compiling, it is not necessary to restart NinjaTrader 7.

    Any changes to the logic would require that you right-click the chart and select Reload NinjaScript.

    Any changes to the default parameters setup in Initialize() would require you to open the indicator or strategy window and remove the instance of the script and add it back to get the default settings to appear.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    649 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    370 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    576 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X