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

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
          BertrandNinjaTrader Customer Service

          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 cmtjoancolmenero, Yesterday, 03:58 PM
              6 responses
              28 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by gbourque, Today, 06:39 AM
              2 responses
              14 views
              0 likes
              Last Post gbourque  
              Started by rexsole, Today, 08:39 AM
              0 responses
              4 views
              0 likes
              Last Post rexsole
              by rexsole
               
              Started by trilliantrader, Yesterday, 03:01 PM
              3 responses
              31 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by Brevo, Today, 01:45 AM
              1 response
              14 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Working...
              X