Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

never ending while loop has crashed NT

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

    never ending while loop has crashed NT

    Well, I have managed to stick a while() loop into my code without having any sort of logical termination. It of course compiled and I tried to apply it to a chart. NT 6.5 froze up so I had to force quit it. Now it won't start up again without freezing up again because I think it is still trying to resolve that indicator which is on a chart that is brought up by default.

    Any help would be really appreicated.

    Thanks

    #2
    So far I have tried to use Notepad to erase the suspect indicator code as well as try to copy old versions of the startup workspace.

    Nothing has worked so far.

    Once it tries to bring up the chart that I applied it to, it just hangs and task manager says "Not Responding".

    Comment


      #3
      I ended up dumping the NinjaTrader 6.5 folder into the trash and replacing it with the nightly backup that my machine does.

      Perhaps someone can still answer this since I don't know what I would have done if I didn't have computer image backup or if the solution didn't work.

      Thanks.

      Comment


        #4
        Likely the workspace file replacement did not work out well, normally moving the workspace file that would load the indicator on the chart out of the workspaces folder and then restarting NT would do it in those cases...the indicator would not be loaded, you could correct the issues / comment out offending lines and be good to go.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        43 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        25 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        163 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        98 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        158 views
        2 likes
        Last Post CaptainJack  
        Working...
        X