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 Mindset, 05-06-2023, 09:03 PM
    10 responses
    262 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by michi08, 10-05-2018, 09:31 AM
    5 responses
    741 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by The_Sec, Today, 02:29 PM
    0 responses
    2 views
    0 likes
    Last Post The_Sec
    by The_Sec
     
    Started by tsantospinto, 04-12-2024, 07:04 PM
    4 responses
    62 views
    0 likes
    Last Post aligator  
    Started by sightcareclickhere, Today, 01:55 PM
    0 responses
    1 view
    0 likes
    Last Post sightcareclickhere  
    Working...
    X