Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator causing stack overflow exception

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

    Indicator causing stack overflow exception

    I made an indicator change that is now causing NT to throw a stack overflow exception whenever NT starts up. How can I start NT without opening my 5 chart windows where my indicator is blowing up. I do have a recent backup, but my understanding is you need to restore using NT once it's started. I've tried modifying the Default.xml in the workspaces folder to not load my indicator but not working.

    I've tried debugging using VS2010, but this is post exception so not much to see.

    Is there a way to start NT using a different workspace?

    Running NT 7.0.

    Any help is greatly appreciated!

    #2
    I've modified the _Workspaces.xml to try to load different workspaces and still throwing the exception. Is there a log anywhere that might show a stack trace (could be large as this is a stack overflow exception).

    Comment


      #3
      Solved the issue. I restored the bin, templates, workspaces directories, then was able to restart NT and edit my indicator and found the issue. I mistakenly used the name of the property in the get/set which caused the stack overflow.

      public double UserPriceForActiveRange
      {
      get{return UserPriceForActiveRange;}
      set{UserPriceForActiveRange = value;}
      }

      Comment


        #4
        Glad to hear jeddah62.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        42 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
        162 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
        157 views
        2 likes
        Last Post CaptainJack  
        Working...
        X