Announcement

Collapse
No announcement yet.

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sjsj2732, Yesterday, 04:31 AM
    0 responses
    31 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    286 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    283 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    133 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    91 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X