Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Disable Indicator before starting NT?

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

    Disable Indicator before starting NT?

    Hi. I put MessageBox.Show in an indicator. That was a mistake! I get a message box on every bar of the chart. I killed NT with task manager. Restarted. NT re-runs my chart and indicator at startup. I need to disable this chart/indicator before starting so that I can fix the problem. Or is there a way I can re-compile the script ( w/out the MessageBox ) using VS?

    #2
    You could try to remove the xml file for the default workspace and NT (perhaps) responds with some error message instead of invoking the indicator?

    Regards
    Ralph

    Comment


      #3
      I have run into this problem with 'run away' indicators. You can edit the default workspace xml file to remove the offending indicator. You can use a program like the free: XML Noetpad 2007 from Microsoft.

      You should used this method only as a last resort.

      Comment


        #4
        Originally posted by scjohn View Post
        I have run into this problem with 'run away' indicators. You can edit the default workspace xml file to remove the offending indicator. You can use a program like the free: XML Noetpad 2007 from Microsoft.

        You should used this method only as a last resort.
        Thanks scjohn. Where is this xml file?

        Comment


          #5
          It's located here : the MyDocuments\NinjaTrader 6.5\workspaces > Default.xml

          Comment


            #6
            You can find the Default.xml, as well as any other saved work spaces, in the \NinjaTrader 6.5\workspaces folder.

            Comment


              #7
              Thanks everyone! I found the file, edited it to not have the chart or the indicator and I was able to start NT. Eliminating the indicator alone was not enough. There must have been some reference to in from within the chart xml node because NT continuted to hang until I also eliminated the chart and restarted.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              601 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              347 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              559 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              558 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X