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

Can't restart NT after wrong coding

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

    Can't restart NT after wrong coding

    Hi:
    I have a NT latest version. My default workspace loads a custom indicator.

    it worked OK until today, as I coded an "improvement" to my indicator but made a stupid coding mistake:
    While (i < x) but never increased i++ inside the while section :-(

    Well, i realized after compiling the indicator, and trying to get the NT to work again, as everytime I restart the NT, it loads the default workspace which loads the wrong compilation of the indicator which turns the computer mad, as it keeps forever and ever inside the while section...

    How can I stop this cycle of madness? Already tried to move the indicator to another folder (desktop), so NT can't find it so I have a chance to recompile but still can't laod NT.

    Any other ideas (besides throwing the PC by the window and buy a new one)?

    Thanks

    #2
    pakricard, fortunately no need for a new PC in this case - just close down NT completely and then go to Documents\NinjaTrader 7\workspaces and either delete your workspace file directly or delete the _Workspaces.xml (this will store which workspaces to load per default). So either way on next restart NT will not load the workspace then holding your offending indicator with the nonending loop applied.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    11 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    10 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    12 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Yesterday, 06:48 PM
    0 responses
    10 views
    0 likes
    Last Post rbeckmann05  
    Working...
    X