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

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 ender_wiggum, Today, 09:50 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by rajendrasubedi2023, Today, 09:50 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by geotrades1, Today, 10:02 AM
    0 responses
    4 views
    0 likes
    Last Post geotrades1  
    Started by bmartz, Today, 09:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X