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 junkone, Today, 11:37 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by frankthearm, Yesterday, 09:08 AM
    11 responses
    41 views
    0 likes
    Last Post frankthearm  
    Started by quantismo, 04-17-2024, 05:13 PM
    5 responses
    35 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by proptrade13, Today, 11:06 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    34 views
    0 likes
    Last Post love2code2trade  
    Working...
    X